public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-2308] remove unused function
Date: Wed, 31 Aug 2022 12:34:42 +0000 (GMT)	[thread overview]
Message-ID: <20220831123442.51919383E040@sourceware.org> (raw)

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

                 reply	other threads:[~2022-08-31 12:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220831123442.51919383E040@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).