------- Comment #4 from mmitchel at gcc dot gnu dot org 2005-12-27 09:05 ------- Subject: Bug 25439
Author: mmitchel Date: Tue Dec 27 09:05:17 2005 New Revision: 109079 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109079 Log: PR c++/25439 * decl.c (grokdeclarator): Remove dead code. * ptree.c (cxx_print_xnode): Handle BASELINK. * parser.c (make_id_declarator): Add sfk parameter. (cp_parser_direct_declarator): Do not pass TYPE_DECLs to make_id_declarator. (cp_parser_declarator_id): Simplify BASELINKs here. (cp_parser_member_declaration): Adjust calls to make_id_declarator. PR c++/25439 * g++.dg/parse/crash17.C: Adjust error markers. * g++.dg/template/error20.C: New test. Added: trunk/gcc/testsuite/g++.dg/template/error20.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/parser.c trunk/gcc/cp/ptree.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/parse/crash17.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25439