Rework vrp_int_const_binop interface
authorRichard Sandiford <richard.sandiford@linaro.org>
Mon, 6 Nov 2017 08:59:09 +0000 (08:59 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 6 Nov 2017 08:59:09 +0000 (08:59 +0000)
commit3232f0521cda16efeff012f65bc4d0b15d02a7e2
treed0e0ad8e413d11a70432ed1718dd2f1565fa370c
parent469f5da70ac58d731bc510ba0e5e29fd2fc72f54
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.

From-SVN: r254436
gcc/ChangeLog
gcc/tree-vrp.c