gcov/lcov problems with branch coverage and c++

Xi Ruoyao ryxi@stu.xidian.edu.cn
Sat Feb 4 01:51:00 GMT 2017


On 2017-02-02 14:59 +0100, Sven Eppler wrote:

> Currently we use Ubuntu 16.04. with:
>   - gcc v5.4
>   - lcov & genhtml v1.12

I tried lcov v1.13 with several different GCC versions (5.3, 6.1, 6.2,
6.3,
and 7.0-20160818). I found out that the strange branches were gone
with "-fno-exceptions".

I don't have GCC 5.4 installed. But it's unlikely that only GCC 5.4 had
this ``bug". I suggest to checkout lcov v1.13 and try it.
-- 
Xi Ruoyao <ryxi@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University



More information about the Gcc-help mailing list