diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-02-18 15:17:36 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-02-18 10:17:36 -0500 |
commit | e28a09a451b48149668a54e2f67a1bbe5a1ff08f (patch) | |
tree | 048d30bf06cee6487f68f9ce77c9038658d697e6 /gcc/diagnostic.c | |
parent | d0a5eb32df615e73d447aa22f47e571baa4ecd18 (diff) | |
download | gcc-e28a09a451b48149668a54e2f67a1bbe5a1ff08f.zip gcc-e28a09a451b48149668a54e2f67a1bbe5a1ff08f.tar.gz gcc-e28a09a451b48149668a54e2f67a1bbe5a1ff08f.tar.bz2 |
* diagnostic.c (_fatal_insn): Decrement errorcount.
From-SVN: r39834
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 1103940..32688b3 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -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); } |