cmd/compile: bug in global variable initialization #29013
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
When I run this on tip, I get:
That's clearly not right. Where did the
map[3]=true
come from?On 1.11, I get:
Which is more correct. But not actually completely correct. I think we should have
&Suites[0].Tests[0] == &Dicts.Tests[0]
, but we don't. This may or may not be related to the first bug.This started happening after my reuse temporaries change: https://go-review.googlesource.com/c/go/+/140301 I'm not sure yet if that CL is actually buggy or just triggered something underlying.
The text was updated successfully, but these errors were encountered: