https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 54690 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54690&action=edit not working patch So this one fails badly in ipa_param_body_adjustments::common_initialization where it needs struct function. Possibly it could be refactored to spit out the get_new_param_chain early and doing the rest late. I'm leaving the param_adjustments case untouched with a comment. Let me test what I have.