[Bug c++/44160] [C++0x] a mysterious error on __func__ in a lambda expression

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue May 10 11:43:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44160

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-05-10 10:54:31 UTC ---
More debugging: fname_decl, called by finish_fname, returns error_mark_node,
whereas it doesn't for, eg, 'const char* f() { return __func__; }'. Note the
argument to finish_fname is completely similar in the two cases.



More information about the Gcc-bugs mailing list