aboutsummaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-12-02 15:43:16 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-12-02 15:43:16 +0000
commitfa967f341ce38053b0baf106454139e29786d061 (patch)
tree40704ce2247e1f60996a197b9440d8b19311886f /gcc/reorg.c
parent474d486a73cc9fb511c489e902b5cea51f1ae640 (diff)
downloadgcc-fa967f341ce38053b0baf106454139e29786d061.zip
gcc-fa967f341ce38053b0baf106454139e29786d061.tar.gz
gcc-fa967f341ce38053b0baf106454139e29786d061.tar.bz2
function.h (struct rtl_data): Remove epilogue_delay_list.
* function.h (struct rtl_data): Remove epilogue_delay_list. * reorg.c (find_end_label): Simplify always-true test. (optimize_skip): Likewise. * final.c (leaf_function_p): Don't loop over epilogue_delay_list. (leaf_renumber_regs): Likewise. * varasm.c (mark_constant_pool): Likewise. * except.c (set_nothrow_function_flags): Likewise. * cfgrtl.c (print_rtl_with_bb): Likewise. From-SVN: r194053
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 612c9ca..f92998e 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -435,12 +435,7 @@ find_end_label (rtx kind)
if needed. */
emit_label (label);
#ifdef HAVE_return
- /* We don't bother trying to create a return insn if the
- epilogue has filled delay-slots; we would have to try and
- move the delay-slot fillers to the delay-slots for the new
- return insn or in front of the new return insn. */
- if (crtl->epilogue_delay_list == NULL
- && HAVE_return)
+ if (HAVE_return)
{
/* The return we make may have delay slots too. */
rtx insn = gen_return ();
@@ -804,8 +799,7 @@ optimize_skip (rtx insn)
we have one insn followed by a branch to the same label we branch to.
In both of these cases, inverting the jump and annulling the delay
slot give the same effect in fewer insns. */
- if ((next_trial == next_active_insn (JUMP_LABEL (insn))
- && ! (next_trial == 0 && crtl->epilogue_delay_list != 0))
+ if (next_trial == next_active_insn (JUMP_LABEL (insn))
|| (next_trial != 0
&& simplejump_or_return_p (next_trial)
&& JUMP_LABEL (insn) == JUMP_LABEL (next_trial)))