]> gcc.gnu.org Git - gcc.git/commitdiff
remove unused function
authorMartin Liska <mliska@suse.cz>
Wed, 31 Aug 2022 12:33:40 +0000 (14:33 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 31 Aug 2022 12:33:40 +0000 (14:33 +0200)
PR tree-optimization/106789

gcc/ChangeLog:

* range-op-float.cc (default_frelop_fold_range): Remove the
  function.

gcc/range-op-float.cc

index d859309f863057b89acc645f1d754a5eee7fda13..c30f2af391cd414139e2d4c52755bdfa39b5d6ec 100644 (file)
@@ -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
This page took 0.063297 seconds and 5 git commands to generate.