https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97695
--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #5) > I see you have patch, too :) > However we do not want to copy clone info to every inline clone (since > the body is materialized just once). The problem is that in case the > offline copy is removed we move clone info to first inline clone and > reshape the tree. This is quite old code to save little memory for the > extra symbol that I may get rid of becuase it also trigger quadratic > time issues with tree-inline, but for now we should copy the info > correctly. Code is not very well structured for this since it first > calls removal hooks and only then looks for replacement so patch is bit > ugly. I will clean it up incrementally. > Umm, OK, can you please adjust comments of all the functions which get a new clone_info parameter too?