Commit e28a09a4 by Richard Kenner Committed by Richard Kenner

* diagnostic.c (_fatal_insn): Decrement errorcount.

From-SVN: r39834
parent d0a5eb32
Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* diagnostic.c (_fatal_insn): Decrement errorcount.
* invoke.texi (-I): Add note avoiding use for system header files. * invoke.texi (-I): Add note avoiding use for system header files.
* rtl.h (add_clobbers): Remove duplicate declaration. * rtl.h (add_clobbers): Remove duplicate declaration.
......
...@@ -1486,6 +1486,11 @@ _fatal_insn (msgid, insn, file, line, function) ...@@ -1486,6 +1486,11 @@ _fatal_insn (msgid, insn, file, line, function)
const char *function; const char *function;
{ {
error ("%s", msgid); error ("%s", msgid);
/* The above incremented error_count, but isn't an error that we want to
count, so reset it here. */
errorcount--;
debug_rtx (insn); debug_rtx (insn);
fancy_abort (file, line, function); fancy_abort (file, line, function);
} }
......
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