From 40256f4a89cffbff2e1ca6ce96945e6e80e139a1 Mon Sep 17 00:00:00 2001 From: dberlin Date: Wed, 4 Jul 2007 22:11:14 +0000 Subject: 2007-07-04 Daniel Berlin PR tree-optimization/32604 PR tree-optimization/32606 * tree-ssa-pre.c (bb_bitmap_sets): Removed antic_safe_loads. (compute_antic_safe): Removed. (ANTIC_SAFE_LOADS): Ditto. (compute_antic_aux): Don't print ANTIC_SAFE_LOADS. (execute_pre): Don't call compute_antic_safe. (vuse_equiv): New function. (make_values_for_stmt): Use it * tree-ssa-sccvn.c (set_ssa_val_to): Remove assert, since it is not always true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126338 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-ssa-sccvn.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gcc/tree-ssa-sccvn.c') diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c index 0f0822984c3..9036e2ed6f9 100644 --- a/gcc/tree-ssa-sccvn.c +++ b/gcc/tree-ssa-sccvn.c @@ -1017,14 +1017,6 @@ set_ssa_val_to (tree from, tree to) tree currval; gcc_assert (to != NULL); - /* Make sure we don't create chains of copies, so that we get the - best value numbering. visit_copy has code to make sure this doesn't - happen, we are doing this here to assert that nothing else breaks - this. */ - gcc_assert (TREE_CODE (to) != SSA_NAME - || TREE_CODE (SSA_VAL (to)) != SSA_NAME - || SSA_VAL (to) == to - || to == from); /* The only thing we allow as value numbers are ssa_names and invariants. So assert that here. */ gcc_assert (TREE_CODE (to) == SSA_NAME || is_gimple_min_invariant (to)); -- cgit v1.2.1