[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:16:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82078
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> > 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.
Actually not reading past the array bounds of a. But past the bounds of e[2]
still stands.
More information about the Gcc-bugs
mailing list