bb-reorder.c (fix_crossing_conditional_branches): Fix crash by removing now-unnecessa...
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 20 Jul 2011 18:52:04 +0000 (18:52 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 20 Jul 2011 18:52:04 +0000 (18:52 +0000)
* bb-reorder.c (fix_crossing_conditional_branches): Fix crash by
removing now-unnecessary assignment.

From-SVN: r176533

gcc/ChangeLog
gcc/bb-reorder.c

index 23fcd05c4f40945aefe2f312f0db09afa045a65c..b3011fda171aab4291002075918004c6965244f9 100644 (file)
@@ -1,3 +1,8 @@
+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
index b88434508bf620f8409d6fe7a93579038ad7e70c..fac5b296af23a5254fea2ff401d4b88ea60aecd7 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);