https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
--- Comment #27 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (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.