OSDN Git Service

compiler: Handle recursive interfaces.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2012 15:42:38 +0000 (15:42 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2012 15:42:38 +0000 (15:42 +0000)
commit823c7e3de24384ad83f40f506f66675bbd7b0438
treedbda0920b40eb4619acf931b7375d151ac4f323a
parent234a7252b6410e9a9fa76ac90047a478770be448
compiler: Handle recursive interfaces.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183340 138bc75d-0d04-0410-961f-82ee72b054a4
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