From 9264db16997eea54e44c44a4869845f94f6102f7 Mon Sep 17 00:00:00 2001
From: Diego Novillo <dnovillo@redhat.com>
Date: Tue, 15 Jun 2004 11:49:50 +0000
Subject: [PATCH] * tree-ssa-copy.c (cprop_into_successor_phis): Fix typo.

From-SVN: r83177
---
 gcc/ChangeLog       | 4 ++++
 gcc/tree-ssa-copy.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fec39d76c9ea..6c953a16d746 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-15  Diego Novillo  <dnovillo@redhat.com>
+
+	* tree-ssa-copy.c (cprop_into_successor_phis): Fix typo.
+
 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
 
 	* fold-const.c (operand_equal_p): Update comment.
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index 753a6772ea0a..79015163fc4a 100644
--- a/gcc/tree-ssa-copy.c
+++ b/gcc/tree-ssa-copy.c
@@ -350,7 +350,7 @@ cprop_into_successor_phis (basic_block bb,
 	  /* If the alternative is known to have a nonzero value, record
 	     that fact in the PHI node itself for future use.  */
 	  if (bitmap_bit_p (nonzero_vars, SSA_NAME_VERSION (*orig_p)))
-	    PHI_ARG_NONZERO (phi, i) = true;
+	    PHI_ARG_NONZERO (phi, hint) = true;
 
 	  /* If we have *ORIG_P in our constant/copy table, then replace
 	     ORIG_P with its value in our constant/copy table.  */
-- 
GitLab