https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81351
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Mon Nov 13 17:26:41 2017 New Revision: 254697 URL: https://gcc.gnu.org/viewcvs?rev=254697&root=gcc&view=rev Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/debug.h trunk/gcc/dwarf2cfi.c trunk/gcc/dwarf2out.c trunk/gcc/lto-opts.c trunk/gcc/toplev.c