From c5830edf8594b13767b8282856b01f0f9be9dd20 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Thu, 12 Jul 2007 02:20:04 +0000 Subject: re PR tree-optimization/32663 (revision 126369 went into an infinite loop) 2007-07-11 Daniel Berlin PR tree-optimization/32663 * tree.h (VALUE_HANDLE_VUSES): Remove. (struct tree_value_handle): Remove vuses. * tree-vn.c (create_value_handle_for_expr): Don't set VALUE_HANDLE_VUSES. * tree-ssa-pre.c (expression_vuses): New. (alloc_expression_id): Set up expression_vuses. (get_expression_vuses): New. (set_expression_vuses): Ditto. (clear_expression_ids): Modify for expression_vuses. (phi_translate_1): Ditto. (phi_translate_set): Ditto. (value_dies_in_block_x): Ditto (valid_in_sets): Ditto. (add_to_sets): Ditto. (find_existing_value_expr): Ditto. (create_value_handle_for_expr): Ditto. (make_values_for_stmt): Ditto. (vuse_equiv): Remove. From-SVN: r126568 --- gcc/tree-vn.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gcc/tree-vn.c') diff --git a/gcc/tree-vn.c b/gcc/tree-vn.c index d62aeea..3a22df0 100644 --- a/gcc/tree-vn.c +++ b/gcc/tree-vn.c @@ -108,9 +108,6 @@ set_value_handle (tree e, tree v) gcc_assert (is_gimple_min_invariant (e)); } - - - /* A comparison function for use in qsort to compare vuses. Simply subtracts version numbers. */ @@ -329,7 +326,7 @@ vn_lookup_with_vuses (tree expr, VEC (tree, gc) *vuses) } static tree -create_value_handle_for_expr (tree expr, VEC (tree, gc) *vuses) +create_value_handle_for_expr (tree expr, VEC(tree, gc) *vuses) { tree v; @@ -337,8 +334,6 @@ create_value_handle_for_expr (tree expr, VEC (tree, gc) *vuses) if (dump_file && (dump_flags & TDF_DETAILS)) print_creation_to_file (v, expr, vuses); - if (vuses) - VALUE_HANDLE_VUSES (v) = vuses; return v; } -- cgit v1.1