]> git.ipfire.org Git - thirdparty/gcc.git/commit
* wide-int.h (widest2_int): New.
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jul 2018 09:12:32 +0000 (09:12 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jul 2018 09:12:32 +0000 (09:12 +0000)
commit5dab7179899242c579dfc9730de081b7b943be1a
tree207eeddd30feb310bbc8f4339783c1b9a6aefd4e
parentc57fc2c1e9eae735935a3a7e3ca2c031b750415d
* wide-int.h (widest2_int): New.
* gimple-fold.c (arith_overflowed_p): Use it.
* tree.h (widest2_int_cst): New.
* tree-vrp.c (wide_int_binop_overflow): Rename from
vrp_int_const_binop.
Rewrite to work on trees.
(extract_range_from_multiplicative_op_1): Abstract code to...
(wide_int_range_min_max): ...here.
(wide_int_range_cross_product): ...and here.
(extract_range_from_binary_expr_1): Abstract overflow code to...
(wide_int_range_cross_product_wrapping): ...here.
* tree-vrp.h (wide_int_range_cross_product): New.
(wide_int_range_cross_product_wrapping): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262874 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/tree-vrp.c
gcc/tree-vrp.h
gcc/tree.h
gcc/wide-int.h