From 34ca9541e706330f52d63cb1fde4adaf65c1775e Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 14 Apr 1999 09:40:56 +0000 Subject: cpperror.c, [...]: Never call abort. 1999-04-14 12:37 -0400 Zack Weinberg * cpperror.c, cppexp.c, cpplib.c: Never call abort. * cpphash.c: Only call abort when we detect corruption of the malloc arena. * cppmain.c: Don't define fatal or fancy_abort. From-SVN: r26442 --- gcc/cpperror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cpperror.c') diff --git a/gcc/cpperror.c b/gcc/cpperror.c index af018815d93..c7339dcb808 100644 --- a/gcc/cpperror.c +++ b/gcc/cpperror.c @@ -114,7 +114,7 @@ v_cpp_message (pfile, is_error, msgid, ap) pfile->errors = CPP_FATAL_LIMIT; break; default: - abort (); + cpp_fatal (pfile, "internal error: bad is_error(%d) in v_cpp_message", is_error); } vfprintf (stderr, _(msgid), ap); -- cgit v1.2.1