Hi.

The PR is about a huge number of basic blocks that belong to a line.
Apparently, it's a generated code coming from Fortran module end statement.
I'm doing fix in 2 steps:

1) I dropped NEGATIVE_LOOP as that can't happen. I've tested that on GCC
   and works fine.
2) Cycle detection algorithm should not use zero edges.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
I'll install it if there will be no objections.

Martin

marxin (2):
  Test for not existence of a negative loop (PR gcov-profile/90380).
  Do not follow zero edges in cycle detection (PR gcov-profile/90380).

 gcc/gcov.c | 61 +++++++++++++++++++++---------------------------------
 1 file changed, 24 insertions(+), 37 deletions(-)

-- 
2.21.0

Reply via email to