aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-11-01 08:53:40 +0000
committerJeff Law <law@gcc.gnu.org>1999-11-01 01:53:40 -0700
commite5de8c72837aa699f506820ab4020e2b7bf39437 (patch)
tree168946748c102e51a5721ea8afc32a907af25fc2
parentddc8c96c235e13b9285e6c1bb0dcc197d6c7995e (diff)
downloadgcc-e5de8c72837aa699f506820ab4020e2b7bf39437.zip
gcc-e5de8c72837aa699f506820ab4020e2b7bf39437.tar.gz
gcc-e5de8c72837aa699f506820ab4020e2b7bf39437.tar.bz2
* flow.c (calculate_global_regs_live): Fix thinko.
From-SVN: r30316
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/flow.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 664fb43..781f7b7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,4 @@
+
Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
* ggc-page.c (struct page_entry): Remove save_num_free_objects.
@@ -23,6 +24,8 @@ Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
+ * flow.c (calculate_global_regs_live): Fix thinko.
+
* integrate.c (expand_inline_function): Fix bugs in previous
change from Oct 28, 1999.
diff --git a/gcc/flow.c b/gcc/flow.c
index 19d50b0..d88faa7 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -3126,7 +3126,7 @@ calculate_global_regs_live (blocks_in, blocks_out, flags)
/* Rescan the block insn by insn to turn (a copy of) live_at_end
into live_at_start. */
propagate_block (new_live_at_end, bb->head, bb->end,
- bb->local_set, i, flags);
+ bb->local_set, bb->index, flags);
/* If live_at start didn't change, no need to go farther. */
if (REG_SET_EQUAL_P (bb->global_live_at_start, new_live_at_end))