diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-10-28 08:13:38 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-10-28 08:21:04 +0200 |
commit | c6567d2ce983651e1e416daf047c7d7b39e0c9b9 (patch) | |
tree | f12a9ebf7da9b726670eadb247f3e80318eb51b2 /gcc | |
parent | 225f9c8805fb1ba68a877383095f38a9563526ee (diff) | |
download | gcc-c6567d2ce983651e1e416daf047c7d7b39e0c9b9.zip gcc-c6567d2ce983651e1e416daf047c7d7b39e0c9b9.tar.gz gcc-c6567d2ce983651e1e416daf047c7d7b39e0c9b9.tar.bz2 |
Change remaining flag_finite_math_only use in value-range.cc.
gcc/ChangeLog:
* value-range.cc (range_tests_floats): Use HONOR_INFINITIES.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/value-range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/value-range.cc b/gcc/value-range.cc index 77e5a2c..03b3c4b 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"); |