summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-23 19:34:08 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-23 19:34:08 +0000
commitfab1c3fb8ba188b28dc7d5e4fa609ae03bb64eb0 (patch)
tree707f71a3c31a494d186a2c22af65b78ee5a56262 /gcc/diagnostic.c
parent5601fc98b94b0fb6d3308a02db0afa2a5069cd72 (diff)
downloadgcc-fab1c3fb8ba188b28dc7d5e4fa609ae03bb64eb0.tar.gz
* diagnostic.c (internal_error): Do ICE suppression only
when ENABLE_CHECKING is not defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49151 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index e2f41fdc650..4ff157d7ecb 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -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);