aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-12-17 02:05:07 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-12-17 02:05:07 +0000
commit740bfcdfcf237d89404c8821612798472a2ec1b1 (patch)
tree84f28986282f3a3af6867f993bdfde3fe023c29b /gcc
parentace556da7cbb98e976e2a276a769efc515fa40a0 (diff)
downloadgcc-740bfcdfcf237d89404c8821612798472a2ec1b1.zip
gcc-740bfcdfcf237d89404c8821612798472a2ec1b1.tar.gz
gcc-740bfcdfcf237d89404c8821612798472a2ec1b1.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/struct-equiv.c2
2 files changed, 7 insertions, 1 deletions
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 <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
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)