]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: don't squash complex literals when inlining.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 17 Oct 2012 18:33:44 +0000 (20:33 +0200)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 17 Oct 2012 18:33:44 +0000 (20:33 +0200)
commita4682348c2e7312388aac590e2e0d4f5fd4c5b09
treec90d59bd99d2c43fb95baf91e0a083f6caa27c19
parentfcd5fd2ad4c9283307c0e0b9f15c00b32c57483a
cmd/gc: don't squash complex literals when inlining.

Since this patch changes the way complex literals are written
in export data, there are a few other glitches.

Fixes #4159.

R=golang-dev, rsc
CC=golang-dev, remy
https://golang.org/cl/6674047
src/cmd/gc/fmt.c
src/cmd/gc/go.y
src/cmd/gc/y.tab.c
src/cmd/gc/y.tab.h
src/pkg/exp/types/gcimporter.go
src/pkg/exp/types/staging/gcimporter.go
test/fixedbugs/bug466.dir/a.go [new file with mode: 0644]
test/fixedbugs/bug466.dir/b.go [new file with mode: 0644]
test/fixedbugs/bug466.go [new file with mode: 0644]