This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/47303] [4.6 Regression] ICE: in varpool_node, at varpool.c:134 with -fabi-version=1


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-19 15:37:02 UTC ---
Author: jakub
Date: Wed Jan 19 15:36:57 2011
New Revision: 169000

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169000
Log:
    PR c++/47303
    * decl2.c (finish_anon_union): Only call mangle_decl if TREE_STATIC
    or DECL_EXTERNAL.

    * g++.dg/template/anonunion1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/anonunion1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]