> 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

OK,
Honza
> ---
>  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 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 <stdint.h>
>  #include <limits.h>
> -- 
> 2.39.2
> 

Reply via email to