OSDN Git Service

* integrate.c (allocate_initial_values): Update the references
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jun 2005 01:28:33 +0000 (01:28 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jun 2005 01:28:33 +0000 (01:28 +0000)
to global_live_at_start and global_live_at_end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101200 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/integrate.c

index e473165..6e9fd5c 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-20  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * integrate.c (allocate_initial_values): Update the references
+       to global_live_at_start and global_live_at_end.
+
 2005-06-20  Jan Hubicka  <jh@suse.cz>
 
        * cfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag.
index e6e0867..065436b 100644 (file)
@@ -406,10 +406,12 @@ allocate_initial_values (rtx *reg_equiv_memory_loc ATTRIBUTE_UNUSED)
              /* Update global register liveness information.  */
              FOR_EACH_BB (bb)
                {
-                 if (REGNO_REG_SET_P(bb->global_live_at_start, regno))
-                   SET_REGNO_REG_SET (bb->global_live_at_start, new_regno);
-                 if (REGNO_REG_SET_P(bb->global_live_at_end, regno))
-                   SET_REGNO_REG_SET (bb->global_live_at_end, new_regno);
+                 struct rtl_bb_info *info = bb->il.rtl;
+
+                 if (REGNO_REG_SET_P(info->global_live_at_start, regno))
+                   SET_REGNO_REG_SET (info->global_live_at_start, new_regno);
+                 if (REGNO_REG_SET_P(info->global_live_at_end, regno))
+                   SET_REGNO_REG_SET (info->global_live_at_end, new_regno);
                }
            }
        }