Question about clones after materialization

Martin Jambor
Mon Jul 20 11:13:34 GMT 2020

On Mon, Jul 20 2020, Erick Ochoa wrote:
> Hi,
> is there a way to find out that a function is a clone of another 
> function after materialization? I believe that `clone_of_p` only works 
> before materialization. I tried and no clones were detected.

there is former_clone_of - but as recently as PR 93621 we discussed
needing to extend that concept.  It's uses were usually added as an
afterthought and often turned out to be problematic, so be careful :-)


More information about the Gcc mailing list