aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2015-01-23 09:51:10 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2015-01-23 09:51:10 +0100
commitb55f40c12246309f204e2eccbe5d659641e841c9 (patch)
treedddeb957b58b9b0f7e1d3254194afaf71ebeb8f6 /gcc/gcc.c
parent652960d1809b326ad20adcaac1b5a72796413a2e (diff)
downloadgcc-b55f40c12246309f204e2eccbe5d659641e841c9.zip
gcc-b55f40c12246309f204e2eccbe5d659641e841c9.tar.gz
gcc-b55f40c12246309f204e2eccbe5d659641e841c9.tar.bz2
diagnostic-core.h (internal_error_no_backtrace): New prototype.
* diagnostic-core.h (internal_error_no_backtrace): New prototype. * diagnostic.def (DK_ICE_NOBT): New kind. * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT like DK_ICE, but never print backtrace. (diagnostic_report_diagnostic): Handle DK_ICE_NOBT like DK_ICE. (internal_error_no_backtrace): New function. * gcc.c (execute): Use internal_error_no_backtrace instead of internal_error. fortran/ * gfc-diagnostic.def (DK_ICE_NOBT): New kind. From-SVN: r220030
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 71c1f72..9f98750 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2912,8 +2912,9 @@ execute (void)
}
else
#endif
- internal_error ("%s (program %s)",
- strsignal (WTERMSIG (status)), commands[i].prog);
+ internal_error_no_backtrace ("%s (program %s)",
+ strsignal (WTERMSIG (status)),
+ commands[i].prog);
}
else if (WIFEXITED (status)
&& WEXITSTATUS (status) >= MIN_FATAL_STATUS)