struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p check.

* struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p
	check.

From-SVN: r108791
This commit is contained in:
J"orn Rennecke 2005-12-19 14:02:56 +00:00 committed by Joern Rennecke
parent f8ef405c57
commit 4264bbf9bd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-19 J"orn Rennecke <joern.rennecke@st.com>
* struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p
check.
2005-12-19 Ben Elliston <bje@au.ibm.com>
* doc/install.texi (Configuration): Typo in Fortran subheading.

View File

@ -249,7 +249,8 @@ struct_equiv_improve_checkpoint (struct struct_equiv_checkpoint *p,
struct equiv_info *info)
{
#ifdef HAVE_cc0
if (reg_mentioned_p (cc0_rtx, p->x_start) && !sets_cc0_p (p->x_start))
if (reg_mentioned_p (cc0_rtx, info->cur.x_start)
&& !sets_cc0_p (info->cur.x_start))
return;
#endif
if (info->cur.input_count >= IMPOSSIBLE_MOVE_FACTOR)