https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99835
--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> --- > But inside a SCC the order is arbitrary anyway. Note I'd only re-order SCCs > and keep the postordering the same otherwise. We compile leaf functions first to be able to propagated to their callers. In order to be able to optimize out functions in case call was optimized out, we would need to compile in reverse order than we do now... Honza