fold-const.c (round_up_loc): Cast divisor to HOST_WIDE_INT before negating it.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 3 Mar 2015 17:56:07 +0000 (17:56 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 3 Mar 2015 17:56:07 +0000 (17:56 +0000)
commit3a5c579a89de0fe4afc697ed9bb59c71b42f6016
treed1f88567395850412def447508785b14089291c1
parent590e26360c16934958e37d65e019207425e23538
fold-const.c (round_up_loc): Cast divisor to HOST_WIDE_INT before negating it.

* fold-const.c (round_up_loc): Cast divisor to HOST_WIDE_INT before
negating it.

* tree-sra.c (pa_sra_preliminary_function_checks): Fix typo in message.

From-SVN: r221159
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/object_overflow5.adb [new file with mode: 0644]
gcc/tree-sra.c