https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113878
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |sanitizer CC| |dodji at gcc dot gnu.org, | |dvyukov at gcc dot gnu.org, | |jakub at gcc dot gnu.org, | |kcc at gcc dot gnu.org --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The undefined sanitizer turns on -fwrapv to prevent optimizations from optimizing based on undefined behavior and the overflow checks are added after a few optimizations even.