diagnostic-core.h (internal_error_no_backtrace): New prototype.
authorJakub Jelinek <jakub@redhat.com>
Fri, 23 Jan 2015 08:51:10 +0000 (09:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 23 Jan 2015 08:51:10 +0000 (09:51 +0100)
commitb55f40c12246309f204e2eccbe5d659641e841c9
treedddeb957b58b9b0f7e1d3254194afaf71ebeb8f6
parent652960d1809b326ad20adcaac1b5a72796413a2e
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
gcc/ChangeLog
gcc/diagnostic-core.h
gcc/diagnostic.c
gcc/diagnostic.def
gcc/fortran/ChangeLog
gcc/fortran/gfc-diagnostic.def
gcc/gcc.c