https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119599
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #5) > Empty block with no successors is how we represent __builtin_unreachable in > RTL, in GIMPLE there should be __builtin_unreachable call. We should just > make sure to add that if we inline noreturn function which can fall through. Actually you are right inliner should be fixed. Let me try to do that instead.