]> Cypherpunks repositories - gostls13.git/commit
gc: fix use of stackallocated AST node in generation of static initialisation code.
authorLuuk van Dijk <lvd@golang.org>
Tue, 13 Dec 2011 08:09:10 +0000 (09:09 +0100)
committerLuuk van Dijk <lvd@golang.org>
Tue, 13 Dec 2011 08:09:10 +0000 (09:09 +0100)
commite1b1a5fea2c5da007b3fd883a781071928e84164
treeb2611b4f95a301e1bf8d475c866ecf839aca0db2
parent5fa18e10618d609ce2c272026e460c47ec864250
gc: fix use of stackallocated AST node in generation of static initialisation code.

Fixes #2529

R=rsc, rogpeppe
CC=golang-dev
https://golang.org/cl/5483048
src/cmd/gc/sinit.c
test/fixedbugs/bug382.dir/pkg.go [new file with mode: 0644]
test/fixedbugs/bug382.go [new file with mode: 0644]