re PR rtl-optimization/49941 (segmentation fault in redirect_jump_2)
commit387748de2fd017a990aaf617f24b8dad53856888
authorAlan Modra <amodra@gmail.com>
Sat, 15 Oct 2011 10:32:33 +0000 (15 21:02 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 15 Oct 2011 10:32:33 +0000 (15 21:02 +1030)
treecb30b59e8583f834cc2b7bda3848e3270cd9bcf1
parentc225ba500b4c34dde743798bf9ccb5dcef7af832
re PR rtl-optimization/49941 (segmentation fault in redirect_jump_2)

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.

From-SVN: r180027
gcc/ChangeLog
gcc/cfgrtl.c
gcc/function.c
gcc/jump.c
gcc/reorg.c
gcc/rtl.h