diff options
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c index 91ad498..d36e3d6 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1262,7 +1262,8 @@ final (first, file, optimize, prescan) new_block = 1; #if defined (DWARF2_DEBUGGING_INFO) && defined (HAVE_prologue) - dwarf2out_frame_debug (NULL_RTX); + if (write_symbols == DWARF2_DEBUG) + dwarf2out_frame_debug (NULL_RTX); #endif check_exception_handler_labels (); |