(fill_simple_delay_slots): When take insn from a following unconditional branch target...
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 5 Oct 1993 20:28:49 +0000 (13:28 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 5 Oct 1993 20:28:49 +0000 (13:28 -0700)
(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

gcc/reorg.c

index 547cba989837300e8edea8b1ed80c1dee75c510c..515964ce0c67ecdea598f6ceaf4cc705acb74414 100644 (file)
@@ -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);