aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wehle <john@feith.com>2001-07-27 04:35:18 +0000
committerJohn Wehle <wehle@gcc.gnu.org>2001-07-27 04:35:18 +0000
commita727094f584fab3443d64aa8f27b8a7db0d75032 (patch)
tree8ba17079715b2170eac4ec2afc3bb99c92e1664d
parent732910b9c53b72ae93ef74e22cb9b35c9f69ed83 (diff)
downloadgcc-a727094f584fab3443d64aa8f27b8a7db0d75032.zip
gcc-a727094f584fab3443d64aa8f27b8a7db0d75032.tar.gz
gcc-a727094f584fab3443d64aa8f27b8a7db0d75032.tar.bz2
flow.c (redirect_edge_and_branch_force): Test target->global_live_at_start.
* flow.c (redirect_edge_and_branch_force): Test target->global_live_at_start. From-SVN: r44412
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/flow.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 08f8c66..4a7a5ea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
+
+ * flow.c (redirect_edge_and_branch_force): Test
+ target->global_live_at_start.
+
2001-07-26 Richard Henderson <rth@redhat.com>
* simplify-rtx.c (avoid_constant_pool_reference): Export.
diff --git a/gcc/flow.c b/gcc/flow.c
index 248d429..a4b2ae1 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -1917,7 +1917,7 @@ redirect_edge_and_branch_force (e, target)
new_edge->probability = e->probability;
new_edge->count = e->count;
- if (e->dest->global_live_at_start)
+ if (target->global_live_at_start)
{
new_bb->global_live_at_start = OBSTACK_ALLOC_REG_SET (&flow_obstack);
new_bb->global_live_at_end = OBSTACK_ALLOC_REG_SET (&flow_obstack);