This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]