Re: [PATCH] ipa: Fix C++ member ptr indirect inlining (PR 114254, PR 108802)

2024-03-18 Thread Jan Hubicka
> gcc/ChangeLog: > > 2024-03-06 Martin Jambor > > PR ipa/108802 > PR ipa/114254 > * ipa-prop.cc (ipa_get_stmt_member_ptr_load_param): Fix case looking > at COMPONENT_REFs directly from a PARM_DECL, also recognize loads from > a pointer parameter. > (ipa_anal

[PATCH] ipa: Fix C++ member ptr indirect inlining (PR 114254, PR 108802)

2024-03-08 Thread Martin Jambor
Hi, Even though we have had code to handle creation of indirect call graph edges (so that these calls can than be made direct as part of IPA-CP and inlining and eventually also inlined) for C++ member pointers for many years, it turns out that it does not work for lambdas and that it has been seve