This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR lto/81351
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 13 Nov 2017 15:19:34 +0100
- Subject: Re: [patch] Fix PR lto/81351
- Authentication-results: sourceware.org; auth=none
- References: <1548470.apyJlh6za3@polaris> <2633839.6pTMuN3zq5@polaris> <20171113141146.GA42657@kam.mff.cuni.cz>
On Mon, Nov 13, 2017 at 3:11 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> > 2017-11-10 Eric Botcazou <ebotcazou@adacore.com>
>> >
>> > PR lto/81351
>> > * debug.h (dwarf2out_do_eh_frame): Declare.
>> > * dwarf2cfi.c (dwarf2out_do_eh_frame): New predicate.
>> > (dwarf2out_do_frame): Use it.
>> > (dwarf2out_do_cfi_asm): Likewise.
>> > * dwarf2out.c (dwarf2out_frame_finish): Likewise.
>> > (dwarf2out_assembly_start): Likewise.
>> > (dwarf2out_begin_prologue): Fix comment.
>> > * toplev.c (compile_file): Always call dwarf2out_frame_finish
>> > if the target needs either debug or unwind DWARF2 info.
>> > * lto-opts.c (lto_write_options): Do not save -fexceptions,
>> > -fnon-call-exceptions, -ffp-contract, -fmath-errno, -fsigned-zeros,
>> > -ftrapping-math, -ftrapv and -fwrapv.
>> >
>> > PR lto/81351
>> > * dwarf2out.c (do_eh_frame): New static variable.
>> > (dwarf2out_begin_prologue): Set it.
>> > (dwarf2out_frame_finish): Test it instead of dwarf2out_do_eh_frame.
>>
>> Now bootstrapped/regtested on x86-64/Linux, SPARC64/Linux and SPARC/Solaris.
>
> Thank you for updating the patch! It looks good to me, but I can't approve it.
Ok.
Richard.
> Honza
>>
>> --
>> Eric Botcazou