Re: [PATCH] c++, coroutines: Avoid expanding within templates [PR103868]

2022-04-28 Thread Jason Merrill via Gcc-patches
plan. OK with that change. thanks Iain From: Nathan Sidwell Date: Sun, 3 Apr 2022 11:35:03 +0100 Subject: [PATCH] c++, coroutines: Avoid expanding within templates [PR103868] This is a forward-port of a patch by Nathan (against 10.x) which fixes an open PR. We are ICEing because we ended up tsub

Re: [PATCH] c++, coroutines: Avoid expanding within templates [PR103868]

2022-04-28 Thread Iain Sandoe
rary workaround. Is it not feasible > to write a new short testcase that reproduces the problem, now that you > understand it? With the fix it was possible to write a reduction test that fails for the bad compiler and passes for the fixed without other issues. Threw that at cvice and we

Re: [PATCH] c++, coroutines: Avoid expanding within templates [PR103868]

2022-04-19 Thread Jason Merrill via Gcc-patches
On 4/18/22 15:49, Eric Gallager via Gcc-patches wrote: On Mon, Apr 18, 2022 at 10:01 AM Iain Sandoe via Gcc-patches wrote: From: Nathan Sidwell This is a forward-port of a patch by Nathan (against 10.x) which fixes an open PR. We are ICEing because we ended up tsubst_copying something that

Re: [PATCH] c++, coroutines: Avoid expanding within templates [PR103868]

2022-04-19 Thread Martin Liška
On 4/18/22 21:55, Iain Sandoe wrote: IIRC the original code takes a few minutes to compile on my laptop, so i’d expect it might be very time-consuming to do - perhaps Martin has some ideas? Yes, the original testcase is huge to reduce and I'm not willing to waste time on it. That said, I