ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 patch.
authorJakub Jelinek <jakub@redhat.com>
Wed, 6 Mar 2002 16:53:07 +0000 (17:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 6 Mar 2002 16:53:07 +0000 (17:53 +0100)
* ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
patch.

From-SVN: r50359

gcc/ChangeLog
gcc/ssa-ccp.c

index c6896dc24da8ef9d8a57d97209028336462242f2..30c3e07dcbfe7df726c772927b9f0be538d8f90b 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
+       patch.
+
 Wed Mar  6 11:28:19 CET 2002  Jan Hubicka  <jh@suse.cz>
 
        * predict.c (estimate_bb_frequencies): Do not reload the
index d1b597c1b294187283fe7fcb88a72ccb20626e2e..9d2d9c9170e72a2998fcdd5795b409a4f7ae2854 100644 (file)
@@ -856,14 +856,10 @@ ssa_ccp_substitute_constants ()
     {
       if (values[i].lattice_val == CONSTANT)
        {
-         rtx def = VARRAY_RTX (ssa_definition, i), set;
+         rtx def = VARRAY_RTX (ssa_definition, i);
+         rtx set = single_set (def);
          struct df_link *curruse;
 
-         /* Definition might have been deleted already.  */
-         if (! def)
-           continue;
-
-         set = single_set (def);
          if (! set)
            continue;