https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2024-03-27
Status|UNCONFIRMED |NEW
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> I am suspecting a front-end change caused this.
> clang accepts the same code with libstdc++ which is another reason why I
> think it might be a front-end issue.
And clang accepts the example when using libc++, which also implements LWG
3566. So I don't think the LWG 3566 change itself is the problem.