[Bug c/82078] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 1 18:14:00 GMT 2017


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

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

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>  b = f = e[2][5] = a[5][0];


You are writing past the array bounds of e[2] and reading past the array bounds
of a there.


More information about the Gcc-bugs mailing list