jump.c (redirect_jump): If old label has no UID, don't try to delete it.
* jump.c (redirect_jump): If old label has no UID, don't try to delete it. From-SVN: r49943
This commit is contained in:
parent
a7f52356c5
commit
31fbaad438
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* jump.c (redirect_jump): If old label has no UID, don't try to
|
||||
delete it.
|
||||
|
||||
Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
|
||||
|
|
|
@ -2091,7 +2091,9 @@ redirect_jump (jump, nlabel, delete_unused)
|
|||
&& NOTE_LINE_NUMBER (NEXT_INSN (olabel)) == NOTE_INSN_FUNCTION_END)
|
||||
emit_note_after (NOTE_INSN_FUNCTION_END, nlabel);
|
||||
|
||||
if (olabel && --LABEL_NUSES (olabel) == 0 && delete_unused)
|
||||
if (olabel && --LABEL_NUSES (olabel) == 0 && delete_unused
|
||||
/* Undefined labels will remain outside the insn stream. */
|
||||
&& INSN_UID (olabel))
|
||||
delete_related_insns (olabel);
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue