https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104196
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Also for some reason using the C++ front-end also works around the issue ... > (but I don't see how though). -ffinite-loops is the difference there.