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: Dodji Seketeli <dodji at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 23 Jan 2015 08:21:49 +0100
- 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> <CAOyqgcUtsLvyhkUdgw8VDw5CzAAOsC25raLQV6Ez_vhiRFM0vA at mail dot gmail dot com>
Ian Lance Taylor <iant@golang.org> writes:
> 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.
FWIW, this is fine from me too,
> Thanks for taking care of this.
Indeed.
Cheers,
--
Dodji