https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Martin Liška from comment #2) > Can't confirm that, running trunk@248556 works fine for me. > Utilizing valgrind also does not help. > > Can you please run a single test manually: > > $ gcc --coverage gcov-1.c > $ ./a.out > $ gcov gcov-1.c > $ ./nobootstrap/install/bin/gcc --coverage src/gcc/testsuite/gcc.misc-tests/gcov-1.c $ ./a.out ; echo $? 0 $ ./nobootstrap/install/bin/gcov gcov-1.c gcov-1.gcno:corrupted gcov-1.gcda:profile mismatch for 'main' Segmentation fault > And you can also test: > $ gcov-dump gcov-1.gcno $ ./nobootstrap/install/bin/gcov-dump gcov-1.gcno gcov-1.gcno:note:magic `gcno':version `A80e' gcov-1.gcno:stamp 1402604930 gcov-1.gcno: 01000000: 19:FUNCTION ident=108032747, lineno_checksum=0x086adbf6, cfg_checksum=0x93d19550, `main' src/gcc/testsuite/gcc.misc-tests/gcov-1.c:10 gcov-1.gcno: 01410000: 1:BLOCKS 8 blocks gcov-1.gcno: 01430000: 3:ARCS 1 arcs gcov-1.gcno: 01430000: 3:ARCS 1 arcs gcov-1.gcno: 01430000: 5:ARCS 2 arcs gcov-1.gcno: 01430000: 3:ARCS 1 arcs gcov-1.gcno: 01430000: 5:ARCS 2 arcs gcov-1.gcno: 01430000: 3:ARCS 1 arcs gcov-1.gcno: 01430000: 3:ARCS 1 arcs gcov-1.gcno: 01450000: 18:LINES gcov-1.gcno: 01450000: 17:LINES gcov-1.gcno: 01450000: 17:LINES gcov-1.gcno: 01450000: 17:LINES gcov-1.gcno: 01450000: 17:LINES gcov-1.gcno: 01000000: 19:FUNCTION ident=528394847, lineno_checksum=0xb7ad0113, cfg_checksum=0xa43083b8, `noop' src/gcc/testsuite/gcc.misc-tests/gcov-1.c:6 gcov-1.gcno: 01410000: 1:BLOCKS 3 blocks gcov-1.gcno: 01430000: 3:ARCS 1 arcs gcov-1.gcno: 01430000: 3:ARCS 1 arcs gcov-1.gcno: 01450000: 18:LINES