https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119984
--- Comment #8 from saul.x.robinson at durham dot ac.uk --- (In reply to Andrew Pinski from comment #7) > (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. aye thanks