re PR tree-optimization/88011 (r266028 causes a bunch of go failures)
authorRichard Biener <rguenther@suse.de>
Fri, 16 Nov 2018 12:20:05 +0000 (12:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Nov 2018 12:20:05 +0000 (12:20 +0000)
2018-11-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88011
* tree-vrp.c (extract_range_from_binary_expr): Fix error in
replacing set_value_range_to_undefined and
set_value_range_to_varying with method calls.

From-SVN: r266205

gcc/ChangeLog
gcc/tree-vrp.c

index 8ca2e73ef966a9392a8148192a711799323f919a..3f7e443e57da94e14867a8ba57cabb2f052fc682 100644 (file)
@@ -1,3 +1,10 @@
+2018-11-16  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/88011
+       * tree-vrp.c (extract_range_from_binary_expr): Fix error in
+       replacing set_value_range_to_undefined and
+       set_value_range_to_varying with method calls.
+
 2018-11-16  Ilya Leoshkevich  <iii@linux.ibm.com>
 
        * config/s390/s390.md
index 53d5bd6bd0c39d37e1424fd6fd0435474085edb2..eb4d5b0249dda4b6fbd98fe14481ee15f01253ab 100644 (file)
@@ -1905,7 +1905,7 @@ extract_range_from_binary_expr (value_range_base *vr,
                               TYPE_OVERFLOW_UNDEFINED (expr_type),
                               extra_range_p, extra_min, extra_max))
        {
-         vr->set_undefined ();
+         vr->set_varying ();
          return;
        }
       vr->set (VR_RANGE, wide_int_to_tree (expr_type, wmin),