This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r184753 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 01 Mar 2012 17:52:13 -0000
- Subject: r184753 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
Author: jason
Date: Thu Mar 1 17:52:12 2012
New Revision: 184753
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184753
Log:
PR c++/51930
* decl.c (check_tag_decl): Move warning for misplaced attributes here.
(shadow_tag): From here.
* parser.c (cp_parser_explicit_instantiation): Don't warn here.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/g++.dg/ext/attrib43.C