[PATCH] Don't emit backtrace from driver upon fatal compiler signals

Ian Lance Taylor iant@golang.org
Fri Jan 23 07:16:00 GMT 2015


On Thu, Jan 22, 2015 at 12:35 PM, Jakub Jelinek <jakub@redhat.com> wrote:
>
> 2015-01-22  Jakub Jelinek  <jakub@redhat.com>
>
>         * 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.

This is OK.

Thanks for taking care of this.

Ian



More information about the Gcc-patches mailing list