From 115766b691bab20c8c9748fae898dc93246c1e18 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Mon, 20 Jun 2005 01:28:33 +0000 Subject: [PATCH] integrate.c (allocate_initial_values): Update the references to global_live_at_start and global_live_at_end. * integrate.c (allocate_initial_values): Update the references to global_live_at_start and global_live_at_end. From-SVN: r101200 --- gcc/ChangeLog | 5 +++++ gcc/integrate.c | 10 ++++++---- 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 + + * integrate.c (allocate_initial_values): Update the references + to global_live_at_start and global_live_at_end. + 2005-06-20 Jan Hubicka * 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); } } } -- 2.30.2