diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2007-11-24 22:15:54 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2007-11-24 22:15:54 +0000 |
commit | cb2f563be758d2ca93457cb15f21084c8e259cfa (patch) | |
tree | 7dc842093d9a325576f2a5371a5f79eaf8125394 /gcc/jump.c | |
parent | 54b42fe269b6e554090dbb7ecc25e245d0bd791c (diff) | |
download | gcc-cb2f563be758d2ca93457cb15f21084c8e259cfa.zip gcc-cb2f563be758d2ca93457cb15f21084c8e259cfa.tar.gz gcc-cb2f563be758d2ca93457cb15f21084c8e259cfa.tar.bz2 |
rtlanal.c (label_is_jump_target_p): Return true for a matching REG_LABEL_TARGET.
* rtlanal.c (label_is_jump_target_p): Return true for a matching
REG_LABEL_TARGET.
* reorg.c (fill_slots_from_thread): Correct last change to use
NULL_RTX, not NULL. Outside of REG_NOTES loop, increase and
decrease LABEL_NUSES for JUMP_LABEL (trial), not XEXP (note, 0).
* jump.c (mark_jump_label_1): Add comment for last change
regarding JUMP_LABEL setting.
* gcse.c (add_label_notes): Remove conditional that the label is
mentioned in insn before adding regnote.
* sched-rgn.c (is_cfg_nonregular): Don't return 1 for a
single_set insn only feeding a label to a jump through a
register that dies there.
From-SVN: r130398
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1051,6 +1051,9 @@ mark_jump_label_1 (rtx x, rtx insn, bool in_mem, bool is_target) if (insn) { if (is_target + /* Do not change a previous setting of JUMP_LABEL. If the + JUMP_LABEL slot is occupied by a different label, + create a note for this label. */ && (JUMP_LABEL (insn) == NULL || JUMP_LABEL (insn) == label)) JUMP_LABEL (insn) = label; else |