https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71146
--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71146 > > --- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- > And of course I found it (I think) just after posting the previous commit: Ah, thanks. It looks OK to me. I was wondering if it is cleaner to split the BB just to make the outer loop continue where it started or do something smarter. I wonder how we managed to redirect call within thunk to unreachable? Honza