public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][pushed] ranger: remove unused function
@ 2022-09-26  7:46 Martin Liška
  0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2022-09-26  7:46 UTC (permalink / raw)
  To: gcc-patches; +Cc: Aldy Hernandez, Andrew MacLeod

gcc/ChangeLog:

	* value-range.cc (tree_compare): Remove unused function.
---
 gcc/value-range.cc | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/gcc/value-range.cc b/gcc/value-range.cc
index 9ca442478c9..754379add19 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
-- 
2.37.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-26  7:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26  7:46 [PATCH][pushed] ranger: remove unused function Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).