public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2308] remove unused function
@ 2022-08-31 12:34 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-08-31 12:34 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:217ba2ce7841a68482cb428b9bc093b0842faf3d
commit r13-2308-g217ba2ce7841a68482cb428b9bc093b0842faf3d
Author: Martin Liska <mliska@suse.cz>
Date: Wed Aug 31 14:33:40 2022 +0200
remove unused function
PR tree-optimization/106789
gcc/ChangeLog:
* range-op-float.cc (default_frelop_fold_range): Remove the
function.
Diff:
---
gcc/range-op-float.cc | 16 ----------------
1 file changed, 16 deletions(-)
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-31 12:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 12:34 [gcc r13-2308] 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).