Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc Improve the output of gcc when a ...
details: https://anonhg.NetBSD.org/src/rev/304bff6b7f68
branches: trunk
changeset: 770309:304bff6b7f68
user: dholland <dholland%NetBSD.org@localhost>
date: Tue Oct 11 23:05:48 2011 +0000
description:
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.
diffstat:
external/gpl3/gcc/dist/gcc/gcc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r bac7c59481bf -r 304bff6b7f68 external/gpl3/gcc/dist/gcc/gcc.c
--- a/external/gpl3/gcc/dist/gcc/gcc.c Tue Oct 11 23:04:21 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/gcc.c Tue Oct 11 23:05:48 2011 +0000
@@ -3154,10 +3154,11 @@
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)
Home |
Main Index |
Thread Index |
Old Index