From 2041cde4558a50795877fe1fb7f8e49c4c9a94c5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 6 Mar 2002 17:53:07 +0100 Subject: [PATCH] ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 patch. * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 patch. From-SVN: r50359 --- gcc/ChangeLog | 5 +++++ gcc/ssa-ccp.c | 8 ++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6896dc24da8..30c3e07dcbfe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-06 Jakub Jelinek + + * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 + patch. + Wed Mar 6 11:28:19 CET 2002 Jan Hubicka * predict.c (estimate_bb_frequencies): Do not reload the diff --git a/gcc/ssa-ccp.c b/gcc/ssa-ccp.c index d1b597c1b294..9d2d9c9170e7 100644 --- a/gcc/ssa-ccp.c +++ b/gcc/ssa-ccp.c @@ -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;