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?

Thanks,
Kugan

Attachment: 0001-AutoFDO-Fix-inlined-set-in-inline_functions_by_afdo.patch
Description: 0001-AutoFDO-Fix-inlined-set-in-inline_functions_by_afdo.patch

Reply via email to