diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-12-02 15:43:16 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-12-02 15:43:16 +0000 |
commit | d052c312c5545c50dee633d0d2a2436ea4e7af21 (patch) | |
tree | 40704ce2247e1f60996a197b9440d8b19311886f /gcc/reorg.c | |
parent | ed90efe5646972bfea51fba2eb63d732c87da604 (diff) | |
download | gcc-d052c312c5545c50dee633d0d2a2436ea4e7af21.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194053 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 612c9cae93b..f92998ed4a8 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))) |