> On 2 Dec 2025, at 8:06 pm, Jan Hubička <[email protected]> wrote: > > External email: Use caution opening links or attachments > > > 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.
Yes, Looks like the problem is somewhere else but with this change it Iisgone. I will see if I can find the real issue. Thanks, Kugan > > Honza > > Thanks, > Kugan
