diff options
Diffstat (limited to 'gcc/cp/typeck2.c')
| -rw-r--r-- | gcc/cp/typeck2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c index 9141c6f4c11..b030a050490 100644 --- a/gcc/cp/typeck2.c +++ b/gcc/cp/typeck2.c @@ -259,6 +259,9 @@ friendly_abort (where, file, line, func) if (where > 0) error ("Internal error #%d.", where); + /* Uncount this error, so finish_abort will do the right thing. */ + --errorcount; + fancy_abort (file, line, func); } |

