https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114029
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Without `const`, GCC warns at -O2 also.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 21 Feb 2024 09:28:32 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114029
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Without `const`, GCC warns at -O2 also.