[Bug gcov-profile/93680] [GCOV] "do-while" structure in case statement leads to incorrect code coverage
yangyibiao at nju dot edu.cn
gcc-bugzilla@gcc.gnu.org
Thu Sep 8 11:18:51 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93680
Yibiao Yang <yangyibiao at nju dot edu.cn> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yangyibiao at nju dot edu.cn
--- Comment #3 from Yibiao Yang <yangyibiao at nju dot edu.cn> ---
(In reply to Sunil Kumar from comment #2)
> I have executed same code in gcc 7.4.0 and i do not see the same behaviour.
> The case labels are properly marked as executed 5 times. please can you
> confirm this behaviour. And also the issues which are open items in gcov
> bugzilla list and reported in later gcc 7.4.0 version will those are
> applicable to gcc 7.4.0 ?
I do not check whether this problem is in gcc 7.4.0. This problem is found in
gcc version 9.2.0 (GCC). I re-check it in the trunk version and have the same
behavior as in gcc 9.2.0.
More information about the Gcc-bugs
mailing list