From: Martin Liska Date: Thu, 4 May 2017 10:06:54 +0000 (+0200) Subject: Remove an unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd09e219ce388a62b3f51e49261821e0fbcd43fe;p=gcc.git 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 --- 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