Hello,

On Thu, Nov 13 2025, Richard Biener wrote:
> We currently remove stmts inside of a FOR_EACH_IMM_USE_STMT iteration
> which can be problematical.  The following adjusts purge_all_uses
> to gather all stmts to remove and remove them in reverse order
> afterwards which also better deals with debug stmt generation.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu.
>
> OK?
>
> Thanks,
> Richard.
>
>       PR ipa/122663
>       * ipa-param-manipulation.cc (purge_all_uses): Collect
>       stmts to remove and process that list in reverse.

This is obviously OK (...though I suppose, and hope even, that you have
already pushed it to trunk).

Thanks,

Martin

Reply via email to