]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Update expected number of prime paths in test case
authorJørgen Kvalsvik <j@lambda.is>
Wed, 5 Nov 2025 19:48:29 +0000 (20:48 +0100)
committerJørgen Kvalsvik <j@lambda.is>
Fri, 30 Jan 2026 10:20:57 +0000 (11:20 +0100)
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.

gcc/testsuite/gcc.misc-tests/gcov-29.c
gcc/testsuite/gcc.misc-tests/gcov-30.c

index efbd305b3842f3b4a1145315ad067c78abab12bf..5e3f0a914e55e34d4a1b15009ea00fbdbbad6346 100644 (file)
@@ -823,7 +823,7 @@ void *gnu_getcwd()
 }
 
 /* BEGIN paths
-   summary: 0/5  */
+   summary: 0/6  */
 void pathcov007a (int a)
 /* END */
 {
index e7a4a2870abbf711c5202658909527eabc400678..5f8c070b187c7e4c9e7b6e8e67f8cdaed2dc5627 100644 (file)
@@ -823,7 +823,7 @@ void *gnu_getcwd()
 }
 
 /* BEGIN paths
-   summary: 0/5  */
+   summary: 0/6  */
 void pathcov007a (int a)
 /* END */
 {