https://gcc.gnu.org/g:b8cd236cbef60fc52524b41e2ca173eb12528792
commit r15-3535-gb8cd236cbef60fc52524b41e2ca173eb12528792 Author: Jørgen Kvalsvik <j...@lambda.is> Date: Fri Aug 9 08:28:35 2024 +0200 testsuite: Use dg-compile, not gcc -c Since this is a pure compile test it makes sense to inform dejagnu of it. gcc/testsuite/ChangeLog: * gcc.misc-tests/gcov-23.c: Use dg-compile, not gcc -c Diff: --- gcc/testsuite/gcc.misc-tests/gcov-23.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.misc-tests/gcov-23.c b/gcc/testsuite/gcc.misc-tests/gcov-23.c index 72849d80e3ae..72ba0aa13895 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-23.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-23.c @@ -1,4 +1,5 @@ -/* { dg-options "-fcondition-coverage -ftest-coverage -O2 -c" } */ +/* { dg-options "-fcondition-coverage -ftest-coverage -O2" } */ +/* { dg-do compile } */ #include <stdint.h> #include <limits.h>