https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113287
--- Comment #4 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Ok, definitely mine :) I've miss identified that the exit doesn't leave the loop. Quick hack fixes the issue. I'll work on a proper one tomorrow morning.