https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97652
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #7) > > 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. But -fno-ipa-cp doesn't help.