aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-11-15 00:17:51 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-11-15 00:17:51 +0000
commit5394314855439d86e5bb52ef07713472e2fee0dc (patch)
tree6e75389db96858652650dbbfda5630f66f3e0bde /gcc/final.c
parentd36402d9f0e6928949f9da8273859fdc5fe7b286 (diff)
downloadgcc-5394314855439d86e5bb52ef07713472e2fee0dc.zip
gcc-5394314855439d86e5bb52ef07713472e2fee0dc.tar.gz
gcc-5394314855439d86e5bb52ef07713472e2fee0dc.tar.bz2
remove conditional compilation of sdb debug info
gcc/ChangeLog: 2015-11-14 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h: New definition of SDB_DEBUGGING_INFO. * doc/tm.texi: Regenerate. * doc/tm.texi.in: Adjust. * final.c (rest_of_clean_state): Remove check if SDB_DEBUGGING_INFO is defined. * function.c (number_blocks): Likewise. * output.h: Likewise. * sdbout.c: Likewise. * toplev.c (process_options): Likewise. From-SVN: r230390
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 30b3826..2f57b1b 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -88,9 +88,7 @@ along with GCC; see the file COPYING3. If not see
#include "dbxout.h"
#endif
-#ifdef SDB_DEBUGGING_INFO
#include "sdbout.h"
-#endif
/* Most ports that aren't using cc0 don't need to define CC_STATUS_INIT.
So define a null default for it to save conditionalization later. */
@@ -4644,10 +4642,8 @@ rest_of_clean_state (void)
/* In case the function was not output,
don't leave any temporary anonymous types
queued up for sdb output. */
-#ifdef SDB_DEBUGGING_INFO
- if (write_symbols == SDB_DEBUG)
+ if (SDB_DEBUGGING_INFO && write_symbols == SDB_DEBUG)
sdbout_types (NULL_TREE);
-#endif
flag_rerun_cse_after_global_opts = 0;
reload_completed = 0;