aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-10-21 21:05:02 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-10-21 21:05:02 +0000
commite90bedf52c86a7b4e2e0a1f8a5a1450725cb95b6 (patch)
tree7e4247b26f99c762d570b1e1456c1d1e1167819e /gcc/opts.c
parent0a798c16c13970d020bc5b93c1aceac9ec5dd7a1 (diff)
downloadgcc-e90bedf52c86a7b4e2e0a1f8a5a1450725cb95b6.zip
gcc-e90bedf52c86a7b4e2e0a1f8a5a1450725cb95b6.tar.gz
gcc-e90bedf52c86a7b4e2e0a1f8a5a1450725cb95b6.tar.bz2
unconditionally compile most of the delay slot code
gcc/ChangeLog: 2015-10-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * cfgrtl.c (pass_free_cfg::execute): Adjust. * final.c (dbr_sequence_length): Always define. (shorten_branches): Adjust. * genattr-common.c (main): Always define DELAY_SLOTS. * genattr.c (main): Unconditionally declare functions and define macros related to delay slots. * genattrtab.c (write_eligible_delay): Adjust. (main): Always write out delay slot functions. * opts.c (default_options_table): Adjust. * reorg.c (redirect_with_delay_slots_safe_p): Likewise. (redirect_with_delay_list_safe_p): Likewise. (fill_simple_delay_slots): Likewise. (fill_slots_from_thread): Likewise. (make_return_insns): Likewise. (dbr_schedule): Likewise. (rest_of_handle_delay_slots): Likewise. (pass_delay_slots::gate): Likewise. * toplev.c (process_options): Likewise. From-SVN: r229145
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 89b3e79..a892c88 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -429,7 +429,7 @@ static const struct default_options default_options_table[] =
{
/* -O1 optimizations. */
{ OPT_LEVELS_1_PLUS, OPT_fdefer_pop, NULL, 1 },
-#ifdef DELAY_SLOTS
+#if DELAY_SLOTS
{ OPT_LEVELS_1_PLUS, OPT_fdelayed_branch, NULL, 1 },
#endif
{ OPT_LEVELS_1_PLUS, OPT_fguess_branch_probability, NULL, 1 },