aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-10-05 13:28:49 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-10-05 13:28:49 -0700
commit99f14de77269bf9f041a601d85cece72cdfb869b (patch)
tree98c793e545cc694cde8f5a62abc712c448489bc9
parent6710c3bdf8b7307fc662f0f5fdcdf99e954d5f0a (diff)
downloadgcc-99f14de77269bf9f041a601d85cece72cdfb869b.zip
gcc-99f14de77269bf9f041a601d85cece72cdfb869b.tar.gz
gcc-99f14de77269bf9f041a601d85cece72cdfb869b.tar.bz2
(fill_simple_delay_slots): When take insn from a following unconditional branch target...
(fill_simple_delay_slots): When take insn from a following unconditional branch target, if new_label is zero, must set it to the result of find_end_label (). From-SVN: r5616
-rw-r--r--gcc/reorg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 547cba9..515964ce 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -3009,6 +3009,8 @@ fill_simple_delay_slots (first, non_jumps_p)
if (new_label != 0)
new_label = get_label_before (new_label);
+ else
+ new_label = find_end_label ();
delay_list
= add_to_delay_list (copy_rtx (next_trial), delay_list);