http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55877



--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-04 
20:30:25 UTC ---

Author: jason

Date: Fri Jan  4 20:30:15 2013

New Revision: 194915



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194915

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_6-branch/gcc/testsuite/g++.dg/ext/visibility/anon11.C

Modified:

    branches/gcc-4_6-branch/gcc/cp/ChangeLog

    branches/gcc-4_6-branch/gcc/cp/decl.c

    branches/gcc-4_6-branch/gcc/cp/name-lookup.c

    branches/gcc-4_6-branch/gcc/cp/tree.c

Reply via email to