Commit e8f2b18d by Mark Mitchell Committed by Mark Mitchell

re PR c++/9264 ([parser] ICE on invalid octal constant)

	PR c++/9264
	* c-lex.c (c_lex): Set the token value to error_mark_node for
	invalid numeric constants.

	PR c++/9264
	* g++.dg/parse/octal1.C: New file.

From-SVN: r61235
parent 70f8b89f
2003-01-12 Mark Mitchell <mark@codesourcery.com>
PR c++/9264
* c-lex.c (c_lex): Set the token value to error_mark_node for
invalid numeric constants.
2003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-pch.c (asm_file_startpos): Change to `long'.
......
......@@ -712,6 +712,7 @@ c_lex (value)
{
case CPP_N_INVALID:
/* cpplib has issued an error. */
*value = error_mark_node;
break;
case CPP_N_INTEGER:
......
2003-01-12 Mark Mitchell <mark@codesourcery.com>
PR c++/9264
* g++.dg/parse/octal1.C: New file.
PR c++/9172
* g++.dg/parse/typename1.C: New file.
2003-01-10 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/bf-ms-layout.c: Enable for cygwin and mingw32 targets.
......
int i = 08; // { dg-error "" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment