https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91232
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Try adding -fwrapv . I think you have an integer overflow. Also try -fsanitizer=undefined to get the error at runtime.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91232
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Try adding -fwrapv . I think you have an integer overflow. Also try -fsanitizer=undefined to get the error at runtime.