From 28597b18e4664eb30ea448af9de1115d06306b20 Mon Sep 17 00:00:00 2001 From: kazu Date: Sat, 17 Dec 2005 02:05:07 +0000 Subject: [PATCH] PR rtl-optimization/25456 * struct-equiv.c (struct_equiv_improve_checkpoint): Replace info->x_start with p->x_start. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108707 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/struct-equiv.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f0417ba..ca75967 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 73ac34c..69639d2 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) -- 2.7.4