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