[Bug tree-optimization/82494] UBSAN in gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int'

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 20 11:03:54 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82494

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
r9-3927 changed the type from int to HOST_WIDE_INT which is always at least
64bit ...

I also wonder if we could use wi::widest_int here.


More information about the Gcc-bugs mailing list