mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-10 09:27:02 +08:00
* diagnostic.c (_fatal_insn): Decrement errorcount.
From-SVN: r39834
This commit is contained in:
parent
d0a5eb32df
commit
e28a09a451
@ -1,5 +1,7 @@
|
||||
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.
|
||||
|
||||
* rtl.h (add_clobbers): Remove duplicate declaration.
|
||||
|
@ -1486,6 +1486,11 @@ _fatal_insn (msgid, insn, file, line, function)
|
||||
const char *function;
|
||||
{
|
||||
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);
|
||||
fancy_abort (file, line, function);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user