https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- The heuristics here is quite simplistic - it all happens after small function inlining while trying to inline function called once. Each of clones is called once and it really depends on the order we walk the chain.