From 740bfcdfcf237d89404c8821612798472a2ec1b1 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 17 Dec 2005 02:05:07 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/struct-equiv.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f0417bab5019..ca75967ff23b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-12-17 Kazu Hirata + + PR rtl-optimization/25456 + * struct-equiv.c (struct_equiv_improve_checkpoint): Replace + info->x_start with p->x_start. + 2005-12-17 Alan Modra * simplify-rtx.c (simplify_binary_operation_1 ): Correct bug diff --git a/gcc/struct-equiv.c b/gcc/struct-equiv.c index 73ac34c83b78..69639d254e45 100644 --- a/gcc/struct-equiv.c +++ b/gcc/struct-equiv.c @@ -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)