Re: [PATCH Coroutines] Change context of label_decl in original function

2020-01-27 Thread Nathan Sidwell
On 1/20/20 11:08 PM, JunMa wrote: Hi This patch does minor fix on changing context of label_decl from original function to actor function which avoid assertion in gimplify pass. Bootstrap and test on X86_64, is it OK? ok, thanks gcc/cp 2020-01-21  Jun Ma     * coroutines.cc (transform

[PATCH Coroutines] Change context of label_decl in original function

2020-01-20 Thread JunMa
Hi This patch does minor fix on changing context of label_decl from original function to actor function which avoid assertion in gimplify pass. Bootstrap and test on X86_64, is it OK? Regards JunMa gcc/cp 2020-01-21  Jun Ma     * coroutines.cc (transform_await_wrapper): Set actor funcion