https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Melven.Roehrig-Zoellner from comment #7) > Out of curiosity I tried to have a look at the debug output: > > It seems to me that it gets stuck in the circuit detection of a source line > that just contains an "end module"-statement. > And it seems to detect two cycles (handle_cycle) alternatingly with the > paths: > A B C D E .... X Y Z > A B C D E .... Z > A B C D E .... X Y Z > > And in my case there is no single call to the related source file (count = > 0). Yes, we can bail out quickly when having such a loopish graph with count equal to zero. > > Thanks for looking into that! > > Regards > Melven