aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-07-20 18:52:04 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2011-07-20 18:52:04 +0000
commit742f29abe4e95ae070fe9d2cc45b6a1390a10e5e (patch)
treeb564fb21cd9fbf04b6877b422a888b2ca277fc18 /gcc
parent458f8a16a14c77d6346bec6eb9d536c4a9977741 (diff)
downloadgcc-742f29abe4e95ae070fe9d2cc45b6a1390a10e5e.zip
gcc-742f29abe4e95ae070fe9d2cc45b6a1390a10e5e.tar.gz
gcc-742f29abe4e95ae070fe9d2cc45b6a1390a10e5e.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/bb-reorder.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 23fcd05..b3011fd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index b884345..fac5b29 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);