https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53097
Shachar Shemesh <shachar at shemesh dot biz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shachar at shemesh dot biz --- Comment #2 from Shachar Shemesh <shachar at shemesh dot biz> --- I should point out that I found this bug because I came here to file the exact same one. I actually don't think this is so difficult. In cases of pass by reference and local variables use, just pass the frame pointer, and use the same frame pointer relative offsets you would in the main function also in the lambda. Shachar