compiler: Handle recursive interfaces.
authorIan Lance Taylor <iant@google.com>
Fri, 20 Jan 2012 15:42:38 +0000 (15:42 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 20 Jan 2012 15:42:38 +0000 (15:42 +0000)
commit7c0434e5770960aa20de0fb0d0ace91e1757438a
treedbda0920b40eb4619acf931b7375d151ac4f323a
parent0ab6e1eceb167b931222d4d092acaca60f88a7a0
compiler: Handle recursive interfaces.

* go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to
be empty.
(Gcc_backend::set_placeholder_struct_type): Likewise.

From-SVN: r183340
12 files changed:
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/runtime.cc
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h
gcc/go/gofrontend/unsafe.cc
gcc/testsuite/go.test/test/fixedbugs/bug195.go
gcc/testsuite/go.test/test/fixedbugs/bug251.go