[gcc r16-7176] Update expected number of prime paths in test case
Jorgen Kvalsvik
jkv@gcc.gnu.org
Fri Jan 30 10:22:22 GMT 2026
https://gcc.gnu.org/g:ba68de670885964056549b17eeace61acaaea0ab
commit r16-7176-gba68de670885964056549b17eeace61acaaea0ab
Author: Jørgen Kvalsvik <j@lambda.is>
Date: Wed Nov 5 20:48:29 2025 +0100
Update expected number of prime paths in test case
This test has been failing since this commit which introduces an extra
block in the loop, increasing the number of prime paths:
FAIL: gcc.misc-tests/gcov-29.c line 826: expected 0/5 covered paths, was 0/6
commit 385d9937f0e23cbf9c62f0b2553a33ff70e56ecf
Author: Jan Hubicka <hubicka@ucw.cz>
Date: Fri Jul 11 13:01:13 2025 +0200
Rewrite assign_discriminators
I have looked at the CFGs of this function before and after Jan's
patch and both cases are fine, this test breaking is not a real
regression.
gcc/testsuite/ChangeLog:
* gcc.misc-tests/gcov-29.c: Expect 6 prime paths in test.
* gcc.misc-tests/gcov-30.c: Likewise.
Diff:
---
gcc/testsuite/gcc.misc-tests/gcov-29.c | 2 +-
gcc/testsuite/gcc.misc-tests/gcov-30.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.misc-tests/gcov-29.c b/gcc/testsuite/gcc.misc-tests/gcov-29.c
index efbd305b3842..5e3f0a914e55 100644
--- a/gcc/testsuite/gcc.misc-tests/gcov-29.c
+++ b/gcc/testsuite/gcc.misc-tests/gcov-29.c
@@ -823,7 +823,7 @@ void *gnu_getcwd()
}
/* BEGIN paths
- summary: 0/5 */
+ summary: 0/6 */
void pathcov007a (int a)
/* END */
{
diff --git a/gcc/testsuite/gcc.misc-tests/gcov-30.c b/gcc/testsuite/gcc.misc-tests/gcov-30.c
index e7a4a2870abb..5f8c070b187c 100644
--- a/gcc/testsuite/gcc.misc-tests/gcov-30.c
+++ b/gcc/testsuite/gcc.misc-tests/gcov-30.c
@@ -823,7 +823,7 @@ void *gnu_getcwd()
}
/* BEGIN paths
- summary: 0/5 */
+ summary: 0/6 */
void pathcov007a (int a)
/* END */
{
More information about the Gcc-cvs
mailing list