summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-13 15:58:31 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-13 15:58:31 +0000
commitd931305e795bfba310e1f220f645ab811659ce84 (patch)
treec2c2c53a55d7a97dc44c9965e3a02390b8c134ca /gcc
parent7532009b7582285c364c1f9253e92a7b6233a8c6 (diff)
downloadgcc-d931305e795bfba310e1f220f645ab811659ce84.tar.gz
* tree-ssa-phiopt.c (value_replacement): Remove local variable
result. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96376 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-ssa-phiopt.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 73e8079ba35..1a9614f6334 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -28,6 +28,9 @@
* tree-ssa-live.c (build_tree_conflict_graph): Remove local
variable ann.
+ * tree-ssa-phiopt.c (value_replacement): Remove local variable
+ result.
+
2005-03-13 Andy Hutchinson <HutchinsonAndy@netscape.net>
PR target/18251
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c
index 42e3bde8281..6943c1732c1 100644
--- a/gcc/tree-ssa-phiopt.c
+++ b/gcc/tree-ssa-phiopt.c
@@ -415,7 +415,6 @@ value_replacement (basic_block cond_bb, basic_block middle_bb,
basic_block phi_bb, edge e0, edge e1, tree phi,
tree arg0, tree arg1)
{
- tree result;
tree cond;
edge true_edge, false_edge;
@@ -428,7 +427,6 @@ value_replacement (basic_block cond_bb, basic_block middle_bb,
return false;
cond = COND_EXPR_COND (last_stmt (cond_bb));
- result = PHI_RESULT (phi);
/* This transformation is only valid for equality comparisons. */
if (TREE_CODE (cond) != NE_EXPR && TREE_CODE (cond) != EQ_EXPR)