https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106816
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- The function should probably inherit all of the IPA pure/const/modref analysis result, that is all "IPA" state should be copied. I think we want some helper here - IPA clone creation must have something, no?