This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/49941] [4.7 Regression] segmentation fault in redirect_jump_2
- From: "amodra at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Oct 2011 10:32:36 +0000
- Subject: [Bug rtl-optimization/49941] [4.7 Regression] segmentation fault in redirect_jump_2
- Auto-submitted: auto-generated
- References: <bug-49941-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49941
--- Comment #10 from Alan Modra <amodra at gcc dot gnu.org> 2011-10-15 10:32:36 UTC ---
Author: amodra
Date: Sat Oct 15 10:32:33 2011
New Revision: 180027
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180027
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgrtl.c
trunk/gcc/function.c
trunk/gcc/jump.c
trunk/gcc/reorg.c
trunk/gcc/rtl.h