From 742f29abe4e95ae070fe9d2cc45b6a1390a10e5e Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 20 Jul 2011 18:52:04 +0000 Subject: [PATCH] bb-reorder.c (fix_crossing_conditional_branches): Fix crash by removing now-unnecessary assignment. * bb-reorder.c (fix_crossing_conditional_branches): Fix crash by removing now-unnecessary assignment. From-SVN: r176533 --- gcc/ChangeLog | 5 +++++ gcc/bb-reorder.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23fcd05c4f4..b3011fda171 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-20 Ulrich Weigand + + * bb-reorder.c (fix_crossing_conditional_branches): Fix crash by + removing now-unnecessary assignment. + 2011-07-20 Ulrich Weigand * emit-rtl.c (set_mem_attributes_minus_bitpos): Restore setting diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index b88434508bf..fac5b296af2 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -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); -- 2.30.2