https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123126
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- New patch set submitted: https://gcc.gnu.org/pipermail/gcc-patches/2025-December/703850.html https://gcc.gnu.org/pipermail/gcc-patches/2025-December/703851.html This should fix the issue as loop exits in many cases might be very unlikely which is fine (with profile) but the only cases we care about here is loop exists to noreturns or loop exits that never happen :).
