Re: [PATCH] coroutines : Adjust constraints on when to build ctors [PR98118].

2021-03-04 Thread Nathan Sidwell
On 3/4/21 2:59 PM, Iain Sandoe wrote: Hi, PR98118 shows that TYPE_NEEDS_CONSTRUCTING is a necessary, but not sufficient, condition for determining when we need to build a constructor. Use type_build_ctor_call() instead. tested on x86_64-darwin, x86_64-linux-gnu, [ ice on valid ] OK for master

[PATCH] coroutines : Adjust constraints on when to build ctors [PR98118].

2021-03-04 Thread Iain Sandoe
Hi, PR98118 shows that TYPE_NEEDS_CONSTRUCTING is a necessary, but not sufficient, condition for determining when we need to build a constructor. Use type_build_ctor_call() instead. tested on x86_64-darwin, x86_64-linux-gnu, [ ice on valid ] OK for master / 10.x? thanks Iain gcc/cp/ChangeLog: