https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92685
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Hello. Yes, for usage of create_version_clone_with_body one needs to load GIMPLE body of both caller and callee function. Anyway, can you please rather write to https://gcc.gnu.org/ml/gcc/ mailing list? Note that we use create_version_clone_with_body mainly in IPA passes that are not part of INSERT_PASSES_AFTER (all_regular_ipa_passes). Can you please describe what kind of IPA pass you're intending to write? Please write to the mailing list.