Commit 115766b6 by Kaz Kojima

integrate.c (allocate_initial_values): Update the references to…

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
parent f20fb0e8
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> 2005-06-20 Jan Hubicka <jh@suse.cz>
* cfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag. * cfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag.
......
...@@ -406,10 +406,12 @@ allocate_initial_values (rtx *reg_equiv_memory_loc ATTRIBUTE_UNUSED) ...@@ -406,10 +406,12 @@ allocate_initial_values (rtx *reg_equiv_memory_loc ATTRIBUTE_UNUSED)
/* Update global register liveness information. */ /* Update global register liveness information. */
FOR_EACH_BB (bb) FOR_EACH_BB (bb)
{ {
if (REGNO_REG_SET_P(bb->global_live_at_start, regno)) struct rtl_bb_info *info = bb->il.rtl;
SET_REGNO_REG_SET (bb->global_live_at_start, new_regno);
if (REGNO_REG_SET_P(bb->global_live_at_end, regno)) if (REGNO_REG_SET_P(info->global_live_at_start, regno))
SET_REGNO_REG_SET (bb->global_live_at_end, new_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);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment