public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2847] ranger: remove unused function
@ 2022-09-26  7:31 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-09-26  7:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7ed1a816bab15098e959c249bd0aef8452913223

commit r13-2847-g7ed1a816bab15098e959c249bd0aef8452913223
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Sep 26 09:30:44 2022 +0200

    ranger: remove unused function
    
    gcc/ChangeLog:
    
            * value-range.cc (tree_compare): Remove unused function.

Diff:
---
 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

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

only message in thread, other threads:[~2022-09-26  7:31 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:31 [gcc r13-2847] ranger: remove unused function Martin Liska

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).