public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3536] Change remaining flag_finite_math_only use in value-range.cc.
@ 2022-10-28 6:21 Aldy Hernandez
0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2022-10-28 6:21 UTC (permalink / raw)
To: gcc-cvs
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");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-28 6:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 6:21 [gcc r13-3536] Change remaining flag_finite_math_only use in value-range.cc Aldy Hernandez
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).