tree-ssanames.h (set_range_info): Use value_range_base.
authorRichard Biener <rguenther@suse.de>
Tue, 13 Nov 2018 09:30:49 +0000 (09:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Nov 2018 09:30:49 +0000 (09:30 +0000)
commit9384a5afd6eac11ce7419869bbd2663fefdf918c
tree9781a4382235b7759daaf43b34ad8252f9987bff
parentb2a71af6e2818b867ad486efd9bbadb2b57570e9
tree-ssanames.h (set_range_info): Use value_range_base.

2018-11-13  Richard Biener  <rguenther@suse.de>

* tree-ssanames.h (set_range_info): Use value_range_base.
(get_range_info): Likewise.
* tree-ssanames.c (set_range_info): Likewise.
(get_range_info): Likewise.
* tree-vrp.c (value_range_base::union_helper): Split
out common parts of value_range[_base]::union_.
(value_range_base::union_): Update.
(value_range::union_): Likewise.
(determine_value_range_1): Use value_range_base.
(determine_value_range): Likewise.
* tree-vrp.h (value_range_base::union_helper): Move ...
(value_range::union_helper): ... from here.

From-SVN: r266061
gcc/ChangeLog
gcc/tree-ssanames.c
gcc/tree-ssanames.h
gcc/tree-vrp.c
gcc/tree-vrp.h