https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59863
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xry111 at gcc dot gnu.org
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=114206
--- Comment #10 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Note that if we take a pointer to such an array this optimization will be
invalid. And unfortunately the mis-optimization is already happening (even for
non-const arrays) with some strange command line switch combinations. See
PR114206.