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++/52759] [4.7/4.8 Regression] ICE in cp/mangle.c


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-29 15:05:47 UTC ---
Author: jakub
Date: Thu Mar 29 15:05:42 2012
New Revision: 185967

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185967
Log:
    PR c++/52759
    * decl.c (start_decl): Don't call maybe_apply_pragma_weak
    if processing_template_decl.

    * g++.dg/ext/weak4.C: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/ext/weak4.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/testsuite/ChangeLog


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