This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix PR lto/81351


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]