]> gcc.gnu.org Git - gcc.git/commitdiff
Change remaining flag_finite_math_only use in value-range.cc.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 28 Oct 2022 06:13:38 +0000 (08:13 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Fri, 28 Oct 2022 06:21:04 +0000 (08:21 +0200)
gcc/ChangeLog:

* value-range.cc (range_tests_floats): Use HONOR_INFINITIES.

gcc/value-range.cc

index 77e5a2cc29948e496cecd525928c8287c5ccb9ba..03b3c4b4a65dae063de33d397fc8375e6a7b6473 100644 (file)
@@ -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");
This page took 0.06125 seconds and 5 git commands to generate.