compiler: Fix handling of hidden methods for unnamed types.
commitc3865819fdb914e38b00f10c42ad6e1b16ac75f9
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Oct 2013 22:53:17 +0000 (11 22:53 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Oct 2013 22:53:17 +0000 (11 22:53 +0000)
tree34dffec5bc928bd0f98e09d5dc441034f6eb6c68
parent97267c3983ecd410a708559b403af8ad764fc92e
compiler: Fix handling of hidden methods for unnamed types.

If an interface has hidden methods, we must make the interface
table comdat if it is for an unnamed type.

When we create a stub method for an unnamed type, don't make
it publically visible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203468 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/gogo-tree.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/types.cc