public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Aldy Hernandez <aldyh@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-3536] Change remaining flag_finite_math_only use in value-range.cc. Date: Fri, 28 Oct 2022 06:21:12 +0000 (GMT) [thread overview] Message-ID: <20221028062112.6E436385702A@sourceware.org> (raw) https://gcc.gnu.org/g:c6567d2ce983651e1e416daf047c7d7b39e0c9b9 commit r13-3536-gc6567d2ce983651e1e416daf047c7d7b39e0c9b9 Author: Aldy Hernandez <aldyh@redhat.com> Date: Fri Oct 28 08:13:38 2022 +0200 Change remaining flag_finite_math_only use in value-range.cc. gcc/ChangeLog: * value-range.cc (range_tests_floats): Use HONOR_INFINITIES. Diff: --- gcc/value-range.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/value-range.cc b/gcc/value-range.cc index 77e5a2cc299..03b3c4b4a65 100644 --- a/gcc/value-range.cc +++ b/gcc/value-range.cc @@ -4031,7 +4031,7 @@ range_tests_floats () r0.intersect (r1); ASSERT_TRUE (r0.undefined_p ()); - if (!flag_finite_math_only) + if (HONOR_INFINITIES (float_type_node)) { // Make sure [-Inf, -Inf] doesn't get normalized. r0 = frange_float ("-Inf", "-Inf");
reply other threads:[~2022-10-28 6:21 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=20221028062112.6E436385702A@sourceware.org \ --to=aldyh@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: linkBe 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).