Rework vrp_int_const_binop interface
commit6753d6c7a472f925688c6af3cb498b7c795fcc4d
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Nov 2017 08:59:09 +0000 (6 08:59 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Nov 2017 08:59:09 +0000 (6 08:59 +0000)
treed0e0ad8e413d11a70432ed1718dd2f1565fa370c
parent3366b41ee7abb52fad92e21a2bb98cf2da917317
Rework vrp_int_const_binop interface

...to avoid a warning about uninitialised wide_ints.

2017-11-06  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* tree-vrp.c (vrp_int_const_binop): Return true on success and
return the value by pointer.
(extract_range_from_multiplicative_op_1): Update accordingly.
Return as soon as an operation fails.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254436 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vrp.c