diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-15 10:32:33 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-15 10:32:33 +0000 |
commit | 31a533634f33c54cc5cdde9bac457e2faab94a4e (patch) | |
tree | cb30b59e8583f834cc2b7bda3848e3270cd9bcf1 /gcc/reorg.c | |
parent | d72e4ba7ae7f668d96e40b6aeb0bddedb2023d48 (diff) | |
download | gcc-31a533634f33c54cc5cdde9bac457e2faab94a4e.tar.gz |
PR rtl-optimization/49941
* jump.c (mark_jump_label_1): Set JUMP_LABEL for simple_return jumps.
* rtl.h (set_return_jump_label): Declare.
* function.c (set_return_jump_label): New function, extracted..
(thread_prologue_and_epilogue_insns): ..from here. Use it in
another instance to set return jump_label.
* cfgrtl.c (force_nonfallthru_and_redirect): Use set_return_jump_label.
* reorg.c (find_end_label): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180027 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 179bf5fbdaf..f77a3a0f1d0 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -467,7 +467,7 @@ find_end_label (rtx kind) /* The return we make may have delay slots too. */ rtx insn = gen_return (); insn = emit_jump_insn (insn); - JUMP_LABEL (insn) = ret_rtx; + set_return_jump_label (insn); emit_barrier (); if (num_delay_slots (insn) > 0) obstack_ptr_grow (&unfilled_slots_obstack, insn); |