Turn on well defined signed integer overflow
authorMika Isojärvi <misojarvi@google.com>
Thu, 17 Mar 2016 02:00:59 +0000 (19:00 -0700)
committerMika Isojärvi <misojarvi@google.com>
Thu, 17 Mar 2016 20:21:09 +0000 (13:21 -0700)
commitae6c306e39080de59a8535cf1797b27951dcaa6c
tree4b85447ca9c101787d34d14727cfd589d88f6838
parent5bc22284834bd3ab45e8af8d17d5bbe14b184a2c
Turn on well defined signed integer overflow

clang and gcc assume that signed integers never overflow.
This leads to unexpected bugs when optimizer removes bound checks etc.

Bug: 27703278
Bug: 22715185
Change-Id: Iab4c884fa190d05c0ac9236d01eeeb190e765e69
Android.mk
framework/delibs/cmake/CFlags.cmake