Remove an unused variable.
authorMartin Liska <mliska@suse.cz>
Thu, 4 May 2017 10:06:54 +0000 (12:06 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 4 May 2017 10:06:54 +0000 (10:06 +0000)
2017-05-04  Martin Liska  <mliska@suse.cz>

* tree-vrp.c (simplify_cond_using_ranges_2): Remove unused
variable cond_code.

From-SVN: r247583

gcc/ChangeLog
gcc/tree-vrp.c

index 1c01a15..225799f 100644 (file)
@@ -1,3 +1,8 @@
+2017-05-04  Martin Liska  <mliska@suse.cz>
+
+       * tree-vrp.c (simplify_cond_using_ranges_2): Remove unused
+       variable cond_code.
+
 2017-05-04  Richard Biener  <rguenther@suse.de>
 
        * tree.c (array_at_struct_end_p): Handle arrays at struct
index cc38b0c..cb1a3e5 100644 (file)
@@ -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