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 gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 2 Aug 2011 15:30:14 +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 #2 from Alan Modra <amodra at gmail dot com> 2011-08-02 15:29:57 UTC ---
So, rebuild_jump_labels doesn't add back this JUMP_LABEL, because
mark_jump_label does as its comment says:
If INSN is a JUMP_INSN and there is at least one
CODE_LABEL referenced in INSN as a jump target, then store the last
one in JUMP_LABEL (INSN).
and we have ret_rtx here in the JUMP_LABEL, not a CODE_LABEL.