On Fri, Nov 28, 2025 at 9:33 AM Kugan Vivekanandarajah <
[email protected]> wrote:

> Hi,
>
>
> In i 'inline_functions_by_afdo' that attempts to inline functions guided
> by AutoFDO profiles unnecessarily sets'inlined' flag to true. This patch
> just removes this.
> This is actually causing ICE in some cases.
>
>
> gcc/ChangeLog:
>
> 2025-11-27  Kugan Vivekanandarajah  <[email protected]>
>
>         * ipa-inline.cc (inline_functions_by_afdo): Remove resetting bool
> inlined.
>
>
> Is this OK?
>
OK,
This looks like some sort of pastor.  Thanks for catching it. I wonder how
this causes an ICE?  It should only force one extra update of the inline
summary.

Honza

>
> Thanks,
> Kugan
>

Reply via email to