This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't emit backtrace from driver upon fatal compiler signals
- From: Ian Lance Taylor <iant at golang dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Dodji Seketeli <dseketel at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 Jan 2015 18:50:24 -0800
- Subject: Re: [PATCH] Don't emit backtrace from driver upon fatal compiler signals
- Authentication-results: sourceware.org; auth=none
- References: <20150122203511 dot GJ1746 at tucnak dot redhat dot com>
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