diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/diagnostic.c | 3 | ||||
| -rw-r--r-- | gcc/toplev.c | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 273f16d7d1e..c011e3ca16b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * diagnostic.c (fancy_abort): Don't repeat "internal error". + * toplev.c (crash_signal): Likewise. + Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it> * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation. diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 5ca64e1e4bf..bd115a821b5 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -1350,8 +1350,7 @@ fancy_abort (file, line, function) int line; const char *function; { - internal_error ("Internal compiler error in %s, at %s:%d", - function, trim_filename (file), line); + internal_error ("in %s, at %s:%d", function, trim_filename (file), line); } void diff --git a/gcc/toplev.c b/gcc/toplev.c index 24e3f6a5183..6ce6ecdbd04 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1700,7 +1700,7 @@ static void crash_signal (signo) int signo; { - internal_error ("internal error: %s", strsignal (signo)); + internal_error ("%s", strsignal (signo)); } /* Strip off a legitimate source ending from the input string NAME of |

