[(pushed)] remove unused function

Message ID 2fcd9d72-f973-864b-0673-cb4daadf9724@suse.cz
State Committed
Commit 217ba2ce7841a68482cb428b9bc093b0842faf3d
Headers
Series [(pushed)] remove unused function |

Commit Message

Martin Liška Aug. 31, 2022, 12:34 p.m. UTC
  PR tree-optimization/106789

gcc/ChangeLog:

	* range-op-float.cc (default_frelop_fold_range): Remove the
	  function.
---
 gcc/range-op-float.cc | 16 ----------------
 1 file changed, 16 deletions(-)
  

Patch

diff --git a/gcc/range-op-float.cc b/gcc/range-op-float.cc
index d859309f863..c30f2af391c 100644
--- a/gcc/range-op-float.cc
+++ b/gcc/range-op-float.cc
@@ -232,22 +232,6 @@  frange_drop_ninf (frange &r, tree type)
   r.intersect (tmp);
 }
 
-// Default implementation of fold_range for relational operators.
-// This amounts to passing on any known relations from the oracle, iff
-// we know the operands are not NAN or -ffinite-math-only holds.
-
-static inline bool
-default_frelop_fold_range (irange &r, tree type,
-			  const frange &op1, const frange &op2,
-			  relation_kind rel, relation_kind my_rel)
-{
-  if (frelop_early_resolve (r, type, op1, op2, rel, my_rel))
-    return true;
-
-  r.set_varying (type);
-  return true;
-}
-
 // (X <= VAL) produces the range of [MIN, VAL].
 
 static void