https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361
--- Comment #13 from Luca Ingianni <luca at ingianni dot eu> --- I hope the files I just uploaded might be of use. lcov hangs indefinitely on this file. Command line: /usr/bin/lcov --rc lcov_branch_coverage=1 --directory . --capture --output-file unittests.info This was on gcc 4.9; can't confirm on gcc6 yet (haven't yet gotten it to compile :-( )