This is the mail archive of the gcc-patches@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] |
This was approved by Mark. I have committed it as revision 145892. 2009-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c++/20118 cp/ * parser.c (cp_parser_check_template_parameters): Take a cp_declarator parameter. (cp_parser_elaborated_type_specifier): Update to cp_parser_check_template_parameters. (cp_parser_class_head): Likewise. (cp_parser_check_declarator_template_parameters): Likewise. (cp_parser_check_template_parameters): Handle first the non-error conditions. Give more accurate diagnostics if a declarator is given. testsuite/ * g++.dg/parse/pr20118.C: New. * g++.dg/template/spec16.C: Update. 2008/12/6 Mark Mitchell <mark@codesourcery.com>: > Manuel López-Ibáñez wrote: > >>>>> 2008-08-12 ?Manuel Lopez-Ibanez ?<manu@gcc.gnu.org> >>>>> >>>>> ? ? ? ?PR ?c++/20118 >>>>> ? ? ? ?* diagnostic.c (error_at): New. >>>>> ? ? ? ?* toplev.h (error_at): Declare. >>>>> cp/ >>>>> ? ? ? ?* parser.c (cp_parser_check_template_parameters): Take a >>>>> ? ? ? ?cp_declarator parameter. >>>>> ? ? ? ?(cp_parser_elaborated_type_specifier): Update to >>>>> ? ? ? ?cp_parser_check_template_parameters. >>>>> ? ? ? ?(cp_parser_class_head): Likewise. >>>>> ? ? ? ?(cp_parser_check_declarator_template_parameters): Likewise. >>>>> ? ? ? ?(cp_parser_check_template_parameters): Handle first the non-error >>>>> ? ? ? ?conditions. Give more accurate diagnostics if a declarator is >>>>> ? ? ? ?given. >>>>> testsuite/ >>>>> ? ? ? ?* g++.dg/parse/pr20118.C: New. >>>>> ? ? ? ?* g++.dg/template/spec16.C: Update. > > OK. > > -- > Mark Mitchell > CodeSourcery > mark@codesourcery.com > (650) 331-3385 x713 >
Attachment:
fix-pr20118.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |