From cd09e219ce388a62b3f51e49261821e0fbcd43fe Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 4 May 2017 12:06:54 +0200 Subject: [PATCH] Remove an unused variable. 2017-05-04 Martin Liska * tree-vrp.c (simplify_cond_using_ranges_2): Remove unused variable cond_code. From-SVN: r247583 --- gcc/ChangeLog | 5 +++++ gcc/tree-vrp.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c01a1571c2..225799fbf83 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-05-04 Martin Liska + + * tree-vrp.c (simplify_cond_using_ranges_2): Remove unused + variable cond_code. + 2017-05-04 Richard Biener * tree.c (array_at_struct_end_p): Handle arrays at struct diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index cc38b0c5f13..cb1a3e59e79 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -9643,7 +9643,6 @@ simplify_cond_using_ranges_2 (gcond *stmt) { tree op0 = gimple_cond_lhs (stmt); tree op1 = gimple_cond_rhs (stmt); - enum tree_code cond_code = gimple_cond_code (stmt); /* If we have a comparison of an SSA_NAME (OP0) against a constant, see if OP0 was set by a type conversion where the source of -- 2.30.2