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
This commit is contained in:
parent
c3d5c3faeb
commit
a63bea75b1
@ -1,5 +1,8 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user