]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: mark OGOTO as a statement for formatters.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Fri, 10 Jan 2014 00:33:24 +0000 (01:33 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Fri, 10 Jan 2014 00:33:24 +0000 (01:33 +0100)
commitf739dae7db61e748c1a23e1fae32274e5431bbd2
tree0f5dd3b4ee0a19da951884db108c19daa10ac8ad
parent8449863d3173f59c11b477dc93d5eb00452e80e6
cmd/gc: mark OGOTO as a statement for formatters.

Nodes of goto statements were corrupted when written
to export data.

Fixes #7023.

R=rsc, dave, minux.ma
CC=golang-codereviews
https://golang.org/cl/46190043
src/cmd/gc/fmt.c
test/fixedbugs/issue7023.dir/a.go [new file with mode: 0644]
test/fixedbugs/issue7023.dir/b.go [new file with mode: 0644]
test/fixedbugs/issue7023.go [new file with mode: 0644]