cmd/compile: use &runtime.zerobase for static pointer-to-zero-sized-thing #47582
Labels
binary-size
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go tool compile -S x.go
includes:Note that we're making static tmp symbols for zero-sized things. We should be able to omit stmp_1 and stmp_2 here and use a pointer to runtime.zerobase instead.
This happens a handful of times in std, but not enough for significant wins. Low priority.
The text was updated successfully, but these errors were encountered: