[cfarm-users] GCC 8.2 UBsan and runtime error: signed integer overflow

Jerry James loganjerry at gmail.com
Tue Nov 27 22:17:17 CET 2018


On Tue, Nov 27, 2018 at 1:53 PM Jeffrey Walton via cfarm-users
<cfarm-users at lists.tetaneutral.net> wrote:
> ppc_simd.h:965 is a vec_add, and it happens on a unsigned int vector.
> We don't use signed vector types. I don't believe overflow can happen
> and the algorithm depends on unsigned wrap.

Does building with -fwrapv help?
-- 
Jerry James
http://www.jamezone.org/


More information about the cfarm-users mailing list