This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r169677 - in /branches/google/integration/gcc: ...


Author: dnovillo
Date: Wed Feb  2 18:01:17 2011
New Revision: 169677

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169677
Log:
Fix PR c++/47311

gcc/cp/

	PR c++/47311
	* cp-tree.h (fixup_template_parms): Declare.
	* pt.c (end_template_parm_list): Do not fixup template parms here.
	(fixup_template_parms): Remove static. Fix typo in the
	comments. Remove useless code statement.
	(fixup_template_parm): For a template template parameter, fixup
	its attributes before fixing up its type.
	* parser.c
	(cp_parser_template_declaration_after_export): After parsing
	template parameters fixup their types.

gcc/testsuite/

	PR c++/47311
	* g++.dg/template/param2.C: New test.

Added:
    branches/google/integration/gcc/testsuite/g++.dg/template/param2.C
Modified:
    branches/google/integration/gcc/cp/ChangeLog
    branches/google/integration/gcc/cp/cp-tree.h
    branches/google/integration/gcc/cp/parser.c
    branches/google/integration/gcc/cp/pt.c
    branches/google/integration/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]