From cf74a8d5eda1449f150c5fd61985a01dc80f8be9 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 16 Nov 2018 12:20:05 +0000 Subject: [PATCH] re PR tree-optimization/88011 (r266028 causes a bunch of go failures) 2018-11-16 Richard Biener 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 | 7 +++++++ gcc/tree-vrp.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8ca2e73ef96..3f7e443e57d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-11-16 Richard Biener + + 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 * config/s390/s390.md diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 53d5bd6bd0c..eb4d5b0249d 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -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), -- 2.30.2