https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97652
--- Comment #7 from Jan Hubicka <hubicka at ucw dot cz> --- > And it looks like something (inlining) inserts __builtin_unreachable () calls > that eventually make us optimize this to an endless loop. > > pdt_14.f03.081i.inline:Introduced new external node > (__builtin_unreachable/19). > pdt_14.f03.081i.inline:unreachable : > > 4 calls, 0.000000 freq, 0 count > pdt_14.f03.081i.inline: __builtin_unreachable/19 unreachable > ... Aha, that will be the wrong jump function from ipa-cp I mentioned in earlier comment. We should not believe that root is not written to as we derive now from TBAA in push_8.