[Bug ipa/97652] [11 Regression] New gfortran.dg/pdt_14.f03 failure after g:617695cdc2b3d950f1e4deb5ea85d5cc302943f4

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 2 14:29:37 GMT 2020


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.


More information about the Gcc-bugs mailing list