https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90380
--- Comment #7 from Melven.Roehrig-Zoellner at DLR dot de --- 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). Thanks for looking into that! Regards Melven