> On 9 Dec 2024, at 18:59, Jason Merrill <ja...@redhat.com> wrote:
> 
> On 11/29/24 8:45 AM, Iain Sandoe wrote:
>> Tested on x86_64-darwin, x86_64, powerpc64-linux,
>> OK for trunk?
>> thanks
>> Iain
>> --- 8< ---
>> Recent changes in the C++ FE and the coroutines implementation have
>> exposed a latent issue in which a bind expression containing a var
>> that we need to capture in the coroutine state gets visited twice.
>> This causes an ICE (from a checking assert).  Fixed by adding a pset
>> to the relevant tree walk.
> 
> Seems shorter to use cp_walk_tree_without_duplicates?  OK with that change.

Applied as attached.
thanks

Iain

Attachment: 0001-c-coroutines-Ensure-bind-exprs-are-visited-once-PR98.patch
Description: Binary data

Reply via email to