[Bug gcov-profile/90380] gcov issue: gets stuck (infinite loop?) while analyzing coverage on Fortran project

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 9 07:32:00 GMT 2019


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


More information about the Gcc-bugs mailing list