r128488 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
jason@gcc.gnu.org
jason@gcc.gnu.org
Fri Sep 14 06:07:00 GMT 2007
Author: jason
Date: Fri Sep 14 06:07:25 2007
New Revision: 128488
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128488
Log:
PR c++/17743, c++/19163
* decl2.c (is_late_template_attribute): New fn.
(splice_template_attributes, save_template_attributes): New fns.
(cplus_decl_attributes): Call save_template_attributes.
* pt.c (apply_late_template_attributes): New fn.
(instantiate_class_template, tsubst_decl): Use it.
* cp-tree.h: Declare is_late_template_attribute.
Added:
trunk/gcc/testsuite/g++.dg/ext/tmplattr2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl2.c
trunk/gcc/cp/pt.c
More information about the Gcc-cvs
mailing list