]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: don't believe that variables mentioned 256 times are unused.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 21 Feb 2012 05:38:01 +0000 (16:38 +1100)
committerRob Pike <r@golang.org>
Tue, 21 Feb 2012 05:38:01 +0000 (16:38 +1100)
commitf2ad374ae6663bb5cb7473bc868979e20cad70ad
treec0ad01934f0b3b890e09062d88fb69866faf3f33
parentc9bb042287c1e751865f6fa79503e800213d3514
cmd/gc: don't believe that variables mentioned 256 times are unused.

Such variables would be put at 0(SP), leading to serious
corruptions at zero initialization.
Fixes #3084.

R=golang-dev, r
CC=golang-dev, remy
https://golang.org/cl/5683052
src/cmd/5g/ggen.c
src/cmd/6g/ggen.c
src/cmd/8g/ggen.c
test/fixedbugs/bug423.go [new file with mode: 0644]