[Bug tree-optimization/115766] [12/13/14 Regression] wrong code at optimization levels -O2, -O3

bic60176 at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 18 06:59:13 GMT 2024


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

--- Comment #9 from Bi6c <bic60176 at gmail dot com> ---
https://godbolt.org/

Yes, I also tried to use the compiler explorer. When I compiled with
gcc-12.3.0, I got the results below.
-O0: c[7][4].a: 2
-O2: c[7][4].a: 3


More information about the Gcc-bugs mailing list