https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
--- Comment #28 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #27) > (In reply to Josh Haberman from comment #26) > > I have just noticed a very odd edge case though; if multiple functions in > > a file make tail calls to a noreturn function, only the first one defined > > in the file is a tail call! https://godbolt.org/z/exKE7GKMW > > > That looks icf related. Basically we combine the 2 and then lose the > mustcall. I filed PR 121642 for that, it can happen even without noreturn.