tree-vrp.c (abs_extent_range): Remove.
authorAldy Hernandez <aldyh@redhat.com>
Thu, 23 Aug 2018 13:25:36 +0000 (13:25 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Thu, 23 Aug 2018 13:25:36 +0000 (13:25 +0000)
commit62852194225ed2df31ff6a600659e5cefbb1e8c0
tree0ae9ff87faf8a472941922a6c3732b1148f5c74f
parent488461d8622d5d7b5f85612562fd5abb979f5d57
tree-vrp.c (abs_extent_range): Remove.

* tree-vrp.c (abs_extent_range): Remove.
(extract_range_into_wide_ints): Pass wide ints by reference.
(extract_range_from_binary_expr_1): Rewrite the *DIV_EXPR code.
Pass wide ints by reference in all calls to
extract_range_into_wide_ints.
* wide-int-range.cc (wide_int_range_div): New.
* wide-int-range.h (wide_int_range_div): New.
(wide_int_range_includes_zero_p): New.
(wide_int_range_zero_p): New.

From-SVN: r263813
gcc/ChangeLog
gcc/tree-vrp.c
gcc/wide-int-range.cc
gcc/wide-int-range.h