Re: [PATCH] coroutines: Fix for uses of structured binding [PR94701]

2020-04-27 Thread Nathan Sidwell
On 4/21/20 4:33 PM, Iain Sandoe wrote: Hi, As reported by Michał Dominiak, we are generating incorrect code for structured binding of local vars. Somewhere in the machinations associated with lambda captures, I messed up the code handling DECL_VALUE_EXPRs. tested so far on x86_64-darwin16, OK

[PATCH] coroutines: Fix for uses of structured binding [PR94701]

2020-04-21 Thread Iain Sandoe
Hi, As reported by Michał Dominiak, we are generating incorrect code for structured binding of local vars. Somewhere in the machinations associated with lambda captures, I messed up the code handling DECL_VALUE_EXPRs. tested so far on x86_64-darwin16, OK for master if it passes regstrap on x86-