OSDN Git Service

(fill_simple_delay_slots): When take insn from a
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 1993 20:28:49 +0000 (20:28 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 1993 20:28:49 +0000 (20:28 +0000)
following unconditional branch target, if new_label is zero, must
set it to the result of find_end_label ().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5616 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/reorg.c

index 547cba9..515964c 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);