[Bug fortran/42945] New: Gcov -a fails on Fortan generated object file (infinite loop?)
On trying to do code coverage on set of Fortran files. After using gfortran-4 -fprofile-arcs -ftest-coverage, running test when you try to run gcov -a on one of the Fortran files never ends (the rest are OK). The particular Fortran file contains complex allocate commands. Can simplify and then it works. The Fortran file is configure_arrays.f90 the modified one is configure_arrays.modified. -- Summary: Gcov -a fails on Fortan generated object file (infinite loop?) Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: graeme dot parkin at btinternet dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42945
[Bug fortran/42945] Gcov -a fails on Fortan generated object file (infinite loop?)
--- Comment #1 from graeme dot parkin at btinternet dot com 2010-02-03 15:06 --- Created an attachment (id=19796) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19796&action=view) Contains all Fortran files which give this gcov -a error Note can use compile.sh to run compilation etc. Expects lcov in place but can remove and replace with gcov -a. Only run under cygwin 1.7.1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42945
[Bug fortran/42945] Gcov -a fails on Fortan generated object file (infinite loop?)
--- Comment #3 from graeme dot parkin at btinternet dot com 2010-02-03 15:47 --- (In reply to comment #2) > -a is very expensive and prone to run into some endless cfg reduction, try > to avoid it. > I am actually using lcov (1.9) which uses it automatically (only by looking into lcov discovered it used -a if available). I assume lcov uses it for some analysis purpose. Not sure you can stop it and not sure what it does if I do. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42945