https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119984
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to saul.x.robinson from comment #6) > > Oh. > Just encase it exist, is there a setting to make GCC assume overflows are > possible as I have found them to be useful quite often? I mentioned already in comment #1, use -fwrapv if you want to have signed integers to have wrapping behavior rather than undefined overflow behavior.