https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106821
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |14.0 Status|UNCONFIRMED |RESOLVED --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed on the trunk for GCC 14 by the recent lambda template patches. Note testcase 3 is rejected by clang (but since it is accepted by EDG, MSVC and now GCC, I suspect it is a clang bug).