Commit a63bea75 by Zack Weinberg Committed by Zack Weinberg

diagnostic.c (internal_error): Do ICE suppression only when ENABLE_CHECKING is not defined.

	* diagnostic.c (internal_error): Do ICE suppression only
	when ENABLE_CHECKING is not defined.

From-SVN: r49151
parent c3d5c3fa
2002-01-23 Zack Weinberg <zack@codesourcery.com>
* diagnostic.c (internal_error): Do ICE suppression only
when ENABLE_CHECKING is not defined.
* c-typeck.c (require_complete_type): Return error_mark_node
if type is error_mark_node.
......
......@@ -1221,12 +1221,14 @@ internal_error VPARAMS ((const char *msgid, ...))
if (diagnostic_lock)
error_recursion ();
#ifndef ENABLE_CHECKING
if (errorcount > 0 || sorrycount > 0)
{
fnotice (stderr, "%s:%d: confused by earlier errors, bailing out\n",
input_filename, lineno);
exit (FATAL_EXIT_CODE);
}
#endif
if (internal_error_function != 0)
(*internal_error_function) (_(msgid), &ap);
......
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