From aeb57e4f912fcbccc868a8b2b47227da340d1916 Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 9 Mar 2005 11:37:51 +0000 Subject: [PATCH] * tree-ssa-loop-im.c (lhs): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96189 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 2 ++ gcc/tree-ssa-loop-im.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 353e09bc80f9..baa47f78f8d9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -32,6 +32,8 @@ * tree-ssa-alias.c (may_alias_p): Remove v_ann. + * tree-ssa-loop-im.c (lhs): Remove. + 2005-03-08 Jeff Law * tree-cfg.c (cleanup_control_flow): If removal of a computed diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index 770b71b12080..4178a2155070 100644 --- a/gcc/tree-ssa-loop-im.c +++ b/gcc/tree-ssa-loop-im.c @@ -398,14 +398,13 @@ add_dependency (tree def, struct lim_aux_data *data, struct loop *loop, static unsigned stmt_cost (tree stmt) { - tree lhs, rhs; + tree rhs; unsigned cost = 1; /* Always try to create possibilities for unswitching. */ if (TREE_CODE (stmt) == COND_EXPR) return LIM_EXPENSIVE; - lhs = TREE_OPERAND (stmt, 0); rhs = TREE_OPERAND (stmt, 1); /* Hoisting memory references out should almost surely be a win. */ -- 2.47.3