From: Martin Liska Date: Mon, 26 Sep 2022 07:30:44 +0000 (+0200) Subject: ranger: remove unused function X-Git-Tag: basepoints/gcc-14~4360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ed1a816bab15098e959c249bd0aef8452913223;p=thirdparty%2Fgcc.git ranger: remove unused function gcc/ChangeLog: * value-range.cc (tree_compare): Remove unused function. --- diff --git a/gcc/value-range.cc b/gcc/value-range.cc index 9ca442478c97..754379add190 100644 --- a/gcc/value-range.cc +++ b/gcc/value-range.cc @@ -258,15 +258,6 @@ frange::accept (const vrange_visitor &v) const v.visit (*this); } -// Helper function to compare floats. Returns TRUE if op1 .CODE. op2 -// is nonzero. - -static inline bool -tree_compare (tree_code code, tree op1, tree op2) -{ - return !integer_zerop (fold_build2 (code, integer_type_node, op1, op2)); -} - // Flush denormal endpoints to the appropriate 0.0. void