https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108242
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection Target Milestone|--- |10.5 Known to work| |7.1.0 Last reconfirmed| |2022-12-28 Summary|'__FUNCTION__' was not |[10/11/12/13 Regression] |declared when used inside a |'__FUNCTION__' was not |generic (templated) lambda |declared when used inside a |declared inside a template |generic (templated) lambda |function |declared inside a template | |function Known to fail| |8.1.0 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the original testcase works in GCC 8 to GCC 11 while my testcase in comment #1 fails with those versions. Would be interesting to see what patch broke the original testcase and my testcase.