[patch] Fix PR lto/81351
Richard Biener
richard.guenther@gmail.com
Mon Nov 13 15:18:00 GMT 2017
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
More information about the Gcc-patches
mailing list