x/tools/go/ssa: multiple assign ssa.FieldAddr instr order error #55086
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
Outputgo version -m $(which ssadump)
OutputWhat did you do?
main.go
$ ssadump -build=F main.go
What did you expect to see?
the func main() instr order
*t0 = 3:int
before oft2 = &nil:*P.i [#0]
run line
m, p.i = 3, 2
p.i is panic, but befor m is set, result is 3.What did you see instead?
the the func main() instr order error, the *ssa.FieldAddr
&nil:*P.i [#0]
before of*t0 = 3:int
.run line
m, p.i = 3, 2
p.i is panic, m not set, result is 0.The text was updated successfully, but these errors were encountered: