https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115402
--- Comment #7 from Lewis Baker ---
This paper has now been published and is available at:
https://isocpp.org/files/papers/P3323R0.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115402
--- Comment #6 from Jonathan Wakely ---
There is a paper being written to address both those issues, but it hasn't been
published yet. It should be P3323 when it's ready.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115402
--- Comment #5 from Jonathan Wakely ---
And https://cplusplus.github.io/LWG/issue4069 too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115402
--- Comment #4 from Andrew Pinski ---
https://lists.isocpp.org/lib/2024/06/28451.php
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115402
--- Comment #3 from Andrew Pinski ---
https://cplusplus.github.io/LWG/issue3508
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115402
--- Comment #2 from Andrew Pinski ---
Note libc++ also fails this. So Does Microsoft's c++ library using MSVC.
So I am not sure if this is a bug or not.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115402
--- Comment #1 from Andrew Pinski ---
Created attachment 58393
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58393&action=edit
Full testcase from compiler explorer link