https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58062
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|wrong-code | Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |INVALID --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- C++ was clarified via core issue #1172 (www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1772) to define the __func__ identifier "at the beginning of the compound-statement of the lambda-expression" rendering this bug report no longer valid (at least not in C++ 14). I don't think it's worth implementing something different for C++ 11 so I'm closing this report as invalid. (I note that this is also consistent with what Clang does.)