From 8f211c59432e208a0a621e5b292c4260f308f169 Mon Sep 17 00:00:00 2001
From: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 1 Nov 1999 08:53:40 +0000
Subject: [PATCH]         * flow.c (calculate_global_regs_live): Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30316 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog | 3 +++
 gcc/flow.c    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 664fb4340dcc..781f7b7a884d 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 19d50b0870d7..d88faa70f2c6 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))
-- 
GitLab