https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640
Timothee Besset <ttimo at valvesoftware dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ttimo at valvesoftware dot com --- Comment #12 from Timothee Besset <ttimo at valvesoftware dot com> --- This is still a problem in 9.3 and 10 when using a return type: void test() { []() __attribute__((noinline)) -> int { return 0; }(); }