Commit cf74a8d5 by Richard Biener Committed by Richard Biener

re PR tree-optimization/88011 (r266028 causes a bunch of go failures)

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
parent b9789752
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> 2018-11-16 Ilya Leoshkevich <iii@linux.ibm.com>
* config/s390/s390.md * config/s390/s390.md
...@@ -1905,7 +1905,7 @@ extract_range_from_binary_expr (value_range_base *vr, ...@@ -1905,7 +1905,7 @@ extract_range_from_binary_expr (value_range_base *vr,
TYPE_OVERFLOW_UNDEFINED (expr_type), TYPE_OVERFLOW_UNDEFINED (expr_type),
extra_range_p, extra_min, extra_max)) extra_range_p, extra_min, extra_max))
{ {
vr->set_undefined (); vr->set_varying ();
return; return;
} }
vr->set (VR_RANGE, wide_int_to_tree (expr_type, wmin), vr->set (VR_RANGE, wide_int_to_tree (expr_type, wmin),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment