[Bug c++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error
------- Comment #9 from reichelt at gcc dot gnu dot org 2006-04-19 22:10 -------
Subject: Bug 26558
Author: reichelt
Date: Wed Apr 19 22:10:10 2006
New Revision: 113098
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113098
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_0-branch/gcc/testsuite/g++.dg/parse/template19.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/parser.c
branches/gcc-4_0-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: