* flow.c (calculate_global_regs_live): Fix thinko.
authorJeffrey A Law <law@cygnus.com>
Mon, 1 Nov 1999 08:53:40 +0000 (08:53 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 1 Nov 1999 08:53:40 +0000 (01:53 -0700)
From-SVN: r30316

gcc/ChangeLog
gcc/flow.c

index 664fb43..781f7b7 100644 (file)
@@ -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.
 
index 19d50b0..d88faa7 100644 (file)
@@ -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))