https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121316

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> It should be noted that Expand_Iterator_Loop_Over_Array and
> Expand_Iterator_Loop_Over_Container both make Stats mutable and replace it
> with the output of New_List. I can't figure out if there's a reason why
> Expand_N_Loop_Statement used a different approach so I just went with
> minimal changes here instead of copying them.

Expand_N_Loop_Statement does nothing with Stats in the default case, unlike the
two others.  I agree that the minimal change is the way to go here.

Reply via email to