http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55877
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-04 16:51:12 UTC --- Author: jason Date: Fri Jan 4 16:51:02 2013 New Revision: 194911 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194911 Log: PR c++/55877 * decl.c (reset_type_linkage, bt_reset_linkage): New. (grokdeclarator): Use reset_type_linkage. * name-lookup.c (binding_table_foreach): Handle null table. * tree.c (decl_anon_ns_mem_p): Check TYPE_MAIN_DECL, not TYPE_NAME. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/ext/visibility/anon11.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/decl.c branches/gcc-4_7-branch/gcc/cp/name-lookup.c branches/gcc-4_7-branch/gcc/cp/tree.c