https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111261
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The FE already has to do lookup for s in that initializer, so it knows that another member was found.
redi at gcc dot gnu.org via Gcc-bugs Fri, 01 Sep 2023 01:19:25 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111261
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The FE already has to do lookup for s in that initializer, so it knows that another member was found.