[Bug gcov-profile/121123] [16 regression] some gcc.misc-tests/gcov-*.c fail starting with r16-2197-g385d9937f0e23c
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 30 10:22:18 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121123
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jorgen Kvalsvik <jkv@gcc.gnu.org>:
https://gcc.gnu.org/g:2df6b3b9e870618295ffbe7111520b7901c45df9
commit r16-7175-g2df6b3b9e870618295ffbe7111520b7901c45df9
Author: Jørgen Kvalsvik <j@lambda.is>
Date: Wed Nov 5 20:15:50 2025 +0100
gcov: Only consider pure locations in line mapping
Fixes a regression introduced I bisected to this commit:
commit 385d9937f0e23cbf9c62f0b2553a33ff70e56ecf
Author: Jan Hubicka <hubicka@ucw.cz>
Date: Fri Jul 11 13:01:13 2025 +0200
Rewrite assign_discriminators
That patch adds discriminators to edge->goto_locus which will map to
the right source location, but breaks the equality comparison used in
the hash set.
Fixes these tests:
gcc/testsuite/gcc.misc-tests/gcov-pr83813.c
gcc/testsuite/gcc.misc-tests/gcov-pr84758.c
gcc/testsuite/gcc.misc-tests/gcov-pr85332.c
gcc/testsuite/gcc.misc-tests/gcov-pr85372.c
PR gcov-profile/121084
PR gcov-profile/121123
PR gcov-profile/121409
gcc/ChangeLog:
* profile.cc (branch_prob): Record seen_locations without
discriminators.
More information about the Gcc-bugs
mailing list