re PR lto/81351 (Many LTO testcases FAIL)
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 13 Nov 2017 17:26:41 +0000 (17:26 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 13 Nov 2017 17:26:41 +0000 (17:26 +0000)
commit2f02b2c29168b6db2a25deb8073557330f652508
tree7258aea2ab239cf5e6c08384f4eb1d2d0464e1a8
parent41f0e8194de366399afb726a6862843d81f896a3
re PR lto/81351 (Many LTO testcases FAIL)

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.

From-SVN: r254697
gcc/ChangeLog
gcc/debug.h
gcc/dwarf2cfi.c
gcc/dwarf2out.c
gcc/lto-opts.c
gcc/toplev.c