[Bug c/98168] Optimization that can lead to security vulnerabilities

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 7 21:49:53 GMT 2020


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
I would think that -Wstrict-overflow would catch this, but it doesn't catch it
at any level, not even -Wstrict-overflow=5...


More information about the Gcc-bugs mailing list