https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123955
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2026-02-04
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Even if GCC is right, the diagnostic is very unhelpful, so confirmed as a bug.
I'm not sure if it's rejects-valid or diagnostic yet though.
