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: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Jan Hubicka <hubicka at ucw dot cz>
- Date: Mon, 13 Nov 2017 13:20:09 +0100
- Subject: Re: [patch] Fix PR lto/81351
- Authentication-results: sourceware.org; auth=none
- References: <1548470.apyJlh6za3@polaris>
> 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.
--
Eric Botcazou