[Bug gcov-profile/83813] [GCOV] unsigned char in a union lead to incorrect coverage in gcov
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 31 10:34:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83813
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jul 31 10:33:21 2018
New Revision: 263111
URL: https://gcc.gnu.org/viewcvs?rev=263111&root=gcc&view=rev
Log:
Fix GCOV CFG related issues.
2018-07-31 Martin Liska <mliska@suse.cz>
PR gcov-profile/83813
PR gcov-profile/84758
PR gcov-profile/85217
PR gcov-profile/85332
* profile.c (branch_prob): Do not record GOTO expressions
for GIMPLE statements which locations are already streamed.
2018-07-31 Martin Liska <mliska@suse.cz>
PR gcov-profile/83813
PR gcov-profile/84758
PR gcov-profile/85217
PR gcov-profile/85332
* gcc.misc-tests/gcov-pr83813.c: New test.
* gcc.misc-tests/gcov-pr84758.c: New test.
* gcc.misc-tests/gcov-pr85217.c: New test.
* gcc.misc-tests/gcov-pr85332.c: New test.
Added:
trunk/gcc/testsuite/gcc.misc-tests/gcov-pr83813.c
trunk/gcc/testsuite/gcc.misc-tests/gcov-pr84758.c
trunk/gcc/testsuite/gcc.misc-tests/gcov-pr85217.c
trunk/gcc/testsuite/gcc.misc-tests/gcov-pr85332.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/profile.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list