[Bug tree-optimization/122824] Array out-of-bounds warning when building with optimization greater than -O1

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 5 18:57:33 GMT 2025


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-reduction             |

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note I am not sure we need a reduction here since the problem is pass ordering.
the code which is being warned about is optimized away afterwards. If PR 122830
gets fixed then the warning should go away also.


More information about the Gcc-bugs mailing list