https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109826
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The warning is not even controlled by an option either so only -Werror turns it into an error.
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 12 May 2023 12:37:28 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109826
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The warning is not even controlled by an option either so only -Werror turns it into an error.