Module Name: src
Committed By: dholland
Date: Tue Oct 11 23:05:49 UTC 2011
Modified Files:
src/external/gpl3/gcc/dist/gcc: gcc.c
Log Message:
Improve the output of gcc when a subprogram gets a signal. When OOMing
it gets signal 9, which prints "Killed" -- that this is actually
signal 9 and not a generic message is never clear and causes people to
file PRs unnecessarily.
Suggested by followups to PR 44096.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/dist/gcc/gcc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/gcc.c
diff -u src/external/gpl3/gcc/dist/gcc/gcc.c:1.7 src/external/gpl3/gcc/dist/gcc/gcc.c:1.8
--- src/external/gpl3/gcc/dist/gcc/gcc.c:1.7 Fri Jul 1 01:23:00 2011
+++ src/external/gpl3/gcc/dist/gcc/gcc.c Tue Oct 11 23:05:48 2011
@@ -3154,10 +3154,11 @@ execute (void)
else
#endif
fatal_ice ("\
-Internal error: %s (program %s)\n\
+Internal error: %s (program %s received signal %d)\n\
Please submit a full bug report.\n\
See %s for instructions.",
strsignal (WTERMSIG (status)), commands[i].prog,
+ WTERMSIG (status),
bug_report_url);
}
else if (WIFEXITED (status)