From: Jørgen Kvalsvik Date: Fri, 9 Aug 2024 06:28:35 +0000 (+0200) Subject: testsuite: Use dg-compile, not gcc -c X-Git-Tag: basepoints/gcc-16~6018 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8cd236cbef60fc52524b41e2ca173eb12528792;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/gcc.misc-tests/gcov-23.c b/gcc/testsuite/gcc.misc-tests/gcov-23.c index 72849d80e3a..72ba0aa1389 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 #include