https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- And now the recursion is avoided completely. I'm going to backport this last fix after some time and would be interested if that solves your original issue.