https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
Prasannanjaneyulu <p.padavala at camlintechnologies dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |p.padavala@camlintechnologi | |es.com --- Comment #16 from Prasannanjaneyulu <p.padavala at camlintechnologies dot com> --- I still see this problem in GCC 5.4.0. I am on ubuntu 16.04.12 with lcov version 1.12 and gcov version is 5.4.0. This is how it is compiling: ---------------------------- g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -fprofile-arcs -ftest-coverage -DGITVERSION=\"2.2.4-2-gc134167-dirty\" -O2 -Wall -Wextra -pedantic -I/usr/local/include/ -L/usr/local/lib/ -MT Helper-abc.o -MD -MP -MF .deps/Helper-abc.Tpo -c -o Helper-abc.o `test -f 'abc.cpp' || echo './'`abc.cpp With branch coverage enabled the lcov call is freezing lcov --rc lcov_branch_coverage=1 --directory $PWD --capture --output-file tests_coverage.info Only the .gcda file generated for abc.cpp is freezing rest it is ok. I am literally desparate for some workaround. It's been a long standing ticket not seen any workaround or fix.