[Bug regression/95673] Inconsistent optimization behavior when there is a buffer overflow

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jun 14 16:23:14 GMT 2020


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>an obvious buffer overflow

Undefined behavior so anything could happen.  Inconsistent behavior is not
unexpected.


More information about the Gcc-bugs mailing list