https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449
--- Comment #9 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Thanks Martin & Martin! The patch seems to work for me as well. I did try to minimize it before but it seems the smallest change changes the conditions for the cloning and it doesn't trigger it anymore.