[Bug c++/19253] [3.4/4.0/4.1 regression] bad error message / ICE for invalid template parameter
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 15 19:14:00 GMT 2005
------- Comment #15 from reichelt at gcc dot gnu dot org 2005-11-15 19:14 -------
Subject: Bug 19253
Author: reichelt
Date: Tue Nov 15 19:14:21 2005
New Revision: 107037
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107037
Log:
PR c++/19253
PR c++/22172
Backport from mainline:
2005-11-02 Mark Mitchell <mark@codesourcery.com>
* parser.c (cp_parser_postfix_expression): Use
cp_parser_elaborated_type_specifier to handle typename-types in
functional casts.
(cp_parser_enclosed_argument_list): Skip ahead to the end of the
template argument list if the closing ">" is not found.
Backport from mainline:
2005-11-02 Mark Mitchell <mark@codesourcery.com>
PR c++/19253
* g++.dg/parse/typename10.C: New test.
Backport from mainline:
2005-10-08 James A. Morrison <phython@gcc.gnu.org>
PR c++/22172
* g++.dg/parse/crash30.C: New test.
Added:
branches/gcc-3_4-branch/gcc/testsuite/g++.dg/parse/crash30.C
branches/gcc-3_4-branch/gcc/testsuite/g++.dg/parse/typename10.C
Modified:
branches/gcc-3_4-branch/gcc/cp/ChangeLog
branches/gcc-3_4-branch/gcc/cp/parser.c
branches/gcc-3_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19253
More information about the Gcc-bugs
mailing list