summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/integrate.c10
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4731651c02..6e9fd5cf872 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/integrate.c b/gcc/integrate.c
index e6e0867d6bc..065436b3411 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -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);
}
}
}