Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed issue under gcov 8 where an un-hit section could overwrite a hit in templated code #315
When working with GCC 8 (ref #228) I found a bug whereby if the gcov file is arranged thus:
then the line in question is flagged as un-hit, because the un-hit indicator
I've modified an existing test to demonstrate & test the first issue, and validated that the change fixes the issue I see in my code as well. I have done my best to understand and follow the contributions rules and have run the build under Travis CI to verify the changes I've made.
Please let me know if there are any other changes I can make to this PR to get it accepted.
@@ Coverage Diff @@ ## master #315 +/- ## ========================================== + Coverage 94.88% 94.89% +<.01% ========================================== Files 16 16 Lines 1878 1879 +1 Branches 328 328 ========================================== + Hits 1782 1783 +1 Misses 46 46 Partials 50 50