diff options
author | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-20 01:28:33 +0000 |
---|---|---|
committer | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-20 01:28:33 +0000 |
commit | 691f6748309d76138ef284a7cf929aeae13e744e (patch) | |
tree | a2a81462aa67b2b68d263d73c6efe20a5f166425 /gcc/integrate.c | |
parent | 6c462722c6b1bb4676be72358cd17e17553334d0 (diff) | |
download | gcc-691f6748309d76138ef284a7cf929aeae13e744e.tar.gz |
* integrate.c (allocate_initial_values): Update the references
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
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r-- | gcc/integrate.c | 10 |
1 files changed, 6 insertions, 4 deletions
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); } } } |