aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2017-11-13 17:26:41 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2017-11-13 17:26:41 +0000
commit2f02b2c29168b6db2a25deb8073557330f652508 (patch)
tree7258aea2ab239cf5e6c08384f4eb1d2d0464e1a8 /gcc/toplev.c
parent41f0e8194de366399afb726a6862843d81f896a3 (diff)
downloadgcc-2f02b2c29168b6db2a25deb8073557330f652508.zip
gcc-2f02b2c29168b6db2a25deb8073557330f652508.tar.gz
gcc-2f02b2c29168b6db2a25deb8073557330f652508.tar.bz2
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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index eff1690..2f15496 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -525,10 +525,9 @@ compile_file (void)
/* Do dbx symbols. */
timevar_push (TV_SYMOUT);
- #if defined DWARF2_DEBUGGING_INFO || defined DWARF2_UNWIND_INFO
- if (dwarf2out_do_frame ())
- dwarf2out_frame_finish ();
- #endif
+#if defined DWARF2_DEBUGGING_INFO || defined DWARF2_UNWIND_INFO
+ dwarf2out_frame_finish ();
+#endif
(*debug_hooks->finish) (main_input_filename);
timevar_pop (TV_SYMOUT);