cmd/compile (and gccgo): wrong package initialization order #43444
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
For the program below, my reading of the Go spec is that the output should be
e a b c d
. This is what go/types computes for its InitOrder.cmd/compile instead prints
a d e b c
.gccgo prints
a b d e c
./cc @griesemer @ianlancetaylor
The text was updated successfully, but these errors were encountered: