https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127321
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
I think it is the sharing of decltype([]{}) which is causing the issue rather
than pragma GCC diagnostic issue.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 10 Sep 2026 10:53:04 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127321
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
I think it is the sharing of decltype([]{}) which is causing the issue rather
than pragma GCC diagnostic issue.