diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fec39d76c9ead38a6241a8060c51d3ee119a8437..6c953a16d74649af3da88d06296029bc40cafb6a 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 753a6772ea0a84c99a224ed4640081f2a128ce57..79015163fc4a1f6bbbc5d41fc460dd8e3a035726 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.  */