Re: [PATCH Coroutines]Pickup more CO_AWAIT_EXPR expanding cases

2020-03-02 Thread Nathan Sidwell

On 2/10/20 3:33 AM, bin.cheng wrote:

Hi,

We found more ICEs because of unexpanded CO_AWAIT_EXPR, it turned out we
can fix these issues with more simplification in function co_await_expander.  
Here
is the patch with a new test.

Bootstrap and test on x86_64.  Is it OK?

Thanks,
bin

gcc/cp
2020-02-10  Bin Cheng  

 * coroutines.cc (co_await_expander): Simplify.


ok


--
Nathan Sidwell


Re: [PATCH Coroutines]Pickup more CO_AWAIT_EXPR expanding cases

2020-02-10 Thread bin.cheng
Hi,

We found more ICEs because of unexpanded CO_AWAIT_EXPR, it turned out we
can fix these issues with more simplification in function co_await_expander.  
Here
is the patch with a new test.

Bootstrap and test on x86_64.  Is it OK?

Thanks,
bin

gcc/cp
2020-02-10  Bin Cheng  

* coroutines.cc (co_await_expander): Simplify.

gcc/testsuite
2020-02-10  Bin Cheng  

* g++.dg/coroutines/co-await-syntax-10.C: New test.
* g++.dg/coroutines/co-await-syntax-11.C: New test.


--
Sender:bin.cheng 
Sent At:2020 Feb. 5 (Wed.) 09:34
Recipient:GCC Patches 
Cc:Iain Sandoe ; Nathan Sidwell 
Subject:[PATCH Coroutines]Pickup more CO_AWAIT_EXPR expanding cases


Hi,
This simple patch actually is a missing part of previous one at
https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01451.html
It picks up more CO_AWAIT_EXPR expanding cases.  Test is also added.

Bootstrap and test on x86_64. Is it OK?

Thanks,
bin

0002-Simplify-co_await_expander.patch
Description: Binary data


[PATCH Coroutines]Pickup more CO_AWAIT_EXPR expanding cases

2020-02-04 Thread bin.cheng
Hi,
This simple patch actually is a missing part of previous one at
https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01451.html
It picks up more CO_AWAIT_EXPR expanding cases.  Test is also added.

Bootstrap and test on x86_64. Is it OK?

Thanks,
bin

gcc/cp
2020-02-05  Bin Cheng  

* coroutines.cc (co_await_expander): Handle more CO_AWAIT_EXPR
expanding cases.

gcc/testsuite
2020-02-05  Bin Cheng  

* g++.dg/coroutines/co-await-syntax-10.C: New test.

0001-Pickup-more-CO_AWAIT_EXPR-expanding-cases.patch
Description: Binary data