From: Martin Liska Date: Wed, 31 Aug 2022 12:33:40 +0000 (+0200) Subject: remove unused function X-Git-Tag: basepoints/gcc-14~4899 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=217ba2ce7841a68482cb428b9bc093b0842faf3d;p=thirdparty%2Fgcc.git remove unused function PR tree-optimization/106789 gcc/ChangeLog: * range-op-float.cc (default_frelop_fold_range): Remove the function. --- diff --git a/gcc/range-op-float.cc b/gcc/range-op-float.cc index d859309f8630..c30f2af391cd 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