r185967 - in /branches/gcc-4_7-branch/gcc: cp/C...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Thu Mar 29 15:05:00 GMT 2012
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
More information about the Gcc-cvs
mailing list