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
This commit is contained in:
Richard Biener 2018-11-16 12:20:05 +00:00 committed by Richard Biener
parent b978975256
commit cf74a8d5ed
2 changed files with 8 additions and 1 deletions

View 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

View 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),