This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r132120 - in /trunk/gcc: cp/ChangeLog cp/decl2....
- From: dgregor at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 05 Feb 2008 13:29:43 -0000
- Subject: r132120 - in /trunk/gcc: cp/ChangeLog cp/decl2....
Author: dgregor
Date: Tue Feb 5 13:29:43 2008
New Revision: 132120
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132120
Log:
2008-02-05 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35074
* decl2.c (save_template_attributes): When we're modifying the
TYPE_MAIN_VARIANT to add new attributes, be sure to also modify
all of the other variants to add those same attributes. Otherwise,
the main variant will be inconsistent with those other variants.
2008-02-05 Douglas Gregor <doug.gregor@gmail.com>
PR c++/35074
* g++.dg/ext/attrib30.C: New.
Added:
trunk/gcc/testsuite/g++.dg/ext/attrib30.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c