summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-28 06:27:31 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-28 06:27:31 +0000
commit67c5e2a952c5f2871b559a48603a8bc1ff038346 (patch)
tree01cb54144d0b7a3428f399cddba1a9e459851788 /gcc/jump.c
parentb32ed978e15933278f6330e02bccd379cbcbc33f (diff)
downloadgcc-67c5e2a952c5f2871b559a48603a8bc1ff038346.tar.gz
* rtl.h (skip_consecutive_labels): Declare.
* emit-rtl.c (skip_consecutive_labels): New function. * reorg.c (relax_delay_slots, dbr_schedule): Use it. * jump.c (follow_jumps): Say what null return values mean. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 2b46f7bc991..6ead3220773 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -999,6 +999,7 @@ sets_cc0_p (rtx x)
/* Follow any unconditional jump at LABEL;
return the ultimate label reached by any such chain of jumps.
+ Return null if the chain ultimately leads to a return instruction.
If LABEL is not followed by a jump, return LABEL.
If the chain loops or we can't find end, return LABEL,
since that tells caller to avoid changing the insn.