re PR rtl-optimization/25456 (cc0 targets are broken.)

PR rtl-optimization/25456
	* struct-equiv.c (struct_equiv_improve_checkpoint): Replace
	info->x_start with p->x_start.

From-SVN: r108707
This commit is contained in:
Kazu Hirata 2005-12-17 02:05:07 +00:00 committed by Kazu Hirata
parent ace556da7c
commit 740bfcdfcf
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-12-17 Kazu Hirata <kazu@codesourcery.com>
PR rtl-optimization/25456
* struct-equiv.c (struct_equiv_improve_checkpoint): Replace
info->x_start with p->x_start.
2005-12-17 Alan Modra <amodra@bigpond.net.au>
* simplify-rtx.c (simplify_binary_operation_1 <IOR>): Correct bug

View File

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