go/src/cmd/compile/internal/ssa/testdata
David Chase 0b79abc27e cmd/compile: avoid copying Pos from ONAME when creating converts for maps
ONAME nodes are shared, so using their position for anything is almost
always a mistake.  There are probably more instances of this mistake
elsewhere.  For now, handle the case of map key temporaries, where it's
been a problem.

Fixes #53456.

Change-Id: Id44e845d08d428592ad3ba31986635b6b87b0041
Reviewed-on: https://go-review.googlesource.com/c/go/+/417076
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-11 21:21:49 +00:00
..
b53456.go cmd/compile: avoid copying Pos from ONAME when creating converts for maps 2022-08-11 21:21:49 +00:00
convertline.go
hist.dlv-dbg.nexts
hist.dlv-opt.nexts
hist.gdb-dbg.nexts
hist.gdb-opt.nexts
hist.go
i22558.dlv-dbg.nexts
i22558.gdb-dbg.nexts
i22558.go
i22600.dlv-dbg-race.nexts
i22600.gdb-dbg-race.nexts
i22600.go
infloop.dlv-opt.nexts
infloop.gdb-opt.nexts
infloop.go
inline-dump.go
pushback.go
sayhi.go
scopes.dlv-dbg.nexts
scopes.dlv-opt.nexts
scopes.gdb-dbg.nexts
scopes.gdb-opt.nexts
scopes.go