]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: fix incomplete export data when inlining with local variables.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 1 Nov 2012 18:06:52 +0000 (19:06 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 1 Nov 2012 18:06:52 +0000 (19:06 +0100)
commit8d95245d0dadc1d44ac3567c210d2187e9a4aeea
treeba1a9dbb7bf5f5299e6efcac121a4afa0e85a20b
parent95329d4cd4c036f5b0ab77eaea7927f124d81c97
cmd/gc: fix incomplete export data when inlining with local variables.

When local declarations needed unexported types, these could
be missing in the export data.

Fixes build with -gcflags -lll, except for exp/gotype.

R=golang-dev, rsc, lvd
CC=golang-dev
https://golang.org/cl/6813067
src/cmd/gc/export.c
test/fixedbugs/bug467.dir/p1.go [new file with mode: 0644]
test/fixedbugs/bug467.dir/p2.go [new file with mode: 0644]
test/fixedbugs/bug467.dir/p3.go [new file with mode: 0644]
test/fixedbugs/bug467.go [new file with mode: 0644]