Re: [PATCH] coroutines: Copy attributes to the outlined functions [PR95518]

2020-06-15 Thread Nathan Sidwell
On 6/11/20 3:53 PM, Iain Sandoe wrote: Hi We had omitted the copying of function attributes (including the 'used' status). Mark the outlined functions as artificial, since they are; some diagnostic processing tests this. Do we do the right thing for say attribute((section("bob"))? what if th

[PATCH] coroutines: Copy attributes to the outlined functions [PR95518]

2020-06-11 Thread Iain Sandoe
Hi We had omitted the copying of function attributes (including the 'used' status). Mark the outlined functions as artificial, since they are; some diagnostic processing tests this. tested on Linux and Darwin, OK for master? 10.2? thanks Iain gcc/cp/ChangeLog: PR c++/95518 * co