aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2004-05-28 06:27:31 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2004-05-28 06:27:31 +0000
commit6c2511d34e54923dd7c2195dff882ffcffaa9631 (patch)
tree01cb54144d0b7a3428f399cddba1a9e459851788 /gcc/jump.c
parent4fbf3498e4c9f43d7143d22f7a0b0f0ce9a067bf (diff)
downloadgcc-6c2511d34e54923dd7c2195dff882ffcffaa9631.zip
gcc-6c2511d34e54923dd7c2195dff882ffcffaa9631.tar.gz
gcc-6c2511d34e54923dd7c2195dff882ffcffaa9631.tar.bz2
rtl.h (skip_consecutive_labels): Declare.
* 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. From-SVN: r82357
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 2b46f7b..6ead322 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.