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

Reply via email to