[Bug c++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error
------- Comment #8 from reichelt at gcc dot gnu dot org 2006-04-19 22:07 -------
Subject: Bug 26558
Author: reichelt
Date: Wed Apr 19 22:07:25 2006
New Revision: 113097
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113097
Log:
PR c++/26558
* parser.c (cp_parser_class_name): Check for invalid typenames.
Rearrange code.
* g++.dg/parse/template19.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/template19.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/parser.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26558
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: