Commit 9d533cb5 by Gabriel Dos Reis Committed by Gabriel Dos Reis

diagnostic.c (fancy_abort): Don't repeat "internal error".

	* diagnostic.c (fancy_abort): Don't repeat "internal error".
	* toplev.c (crash_signal): Likewise.

From-SVN: r56669
parent 1f676100
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> Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
* doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation. * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
......
...@@ -1350,8 +1350,7 @@ fancy_abort (file, line, function) ...@@ -1350,8 +1350,7 @@ fancy_abort (file, line, function)
int line; int line;
const char *function; const char *function;
{ {
internal_error ("Internal compiler error in %s, at %s:%d", internal_error ("in %s, at %s:%d", function, trim_filename (file), line);
function, trim_filename (file), line);
} }
void void
......
...@@ -1700,7 +1700,7 @@ static void ...@@ -1700,7 +1700,7 @@ static void
crash_signal (signo) crash_signal (signo)
int 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 /* Strip off a legitimate source ending from the input string NAME of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment