OSDN Git Service

* bb-reorder.c (fix_crossing_conditional_branches): Fix crash by
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jul 2011 18:52:04 +0000 (18:52 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jul 2011 18:52:04 +0000 (18:52 +0000)
removing now-unnecessary assignment.

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

gcc/ChangeLog
gcc/bb-reorder.c

index 23fcd05..b3011fd 100644 (file)
@@ -1,5 +1,10 @@
 2011-07-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
+       * bb-reorder.c (fix_crossing_conditional_branches): Fix crash by
+       removing now-unnecessary assignment.
+
+2011-07-20  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
        * emit-rtl.c (set_mem_attributes_minus_bitpos): Restore setting
        memory address space to the type's address space.
 
index b884345..fac5b29 100644 (file)
@@ -1603,7 +1603,6 @@ fix_crossing_conditional_branches (void)
 
                  new_label = gen_label_rtx ();
                  emit_label (new_label);
-                 BB_HEAD (new_bb) = new_label;
 
                  gcc_assert (GET_CODE (old_label) == LABEL_REF);
                  old_label = JUMP_LABEL (old_jump);