https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86584
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think there is just a missing warning for the plain decl case and the structure member case is not a spurious warning.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 06 Apr 2023 11:50:51 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86584
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think there is just a missing warning for the plain decl case and the structure member case is not a spurious warning.