http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47311
--- Comment #30 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 18:01:21 UTC --- 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