Hi Sam,
on 2024/7/19 11:28, Sam James wrote:
> 'dg-run' is not a valid dejagnu directive, 'dg-do run' is needed here
> for the test to be executed.
>
> 2024-07-18 Sam James <[email protected]>
>
> PR target/108699
> * gcc.target/powerpc/pr108699.c: Fix 'dg-run' typo.
> ---
> Kewen, could you check this on powerpc to ensure it doesn't execute beforehand
> and now it does? I could do it on powerpc but I don't have anything setup
> right now.
Oops, thanks for catching and fixing this stupid typo! Yes, I just confirmed
that,
w/ this fix pr108699.exe gets generated and executed (# of expected passes is
changed
from 1 to 2).
BR,
Kewen
>
> gcc/testsuite/gcc.target/powerpc/pr108699.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.target/powerpc/pr108699.c
> b/gcc/testsuite/gcc.target/powerpc/pr108699.c
> index f02bac130cc7..beb8b601fd51 100644
> --- a/gcc/testsuite/gcc.target/powerpc/pr108699.c
> +++ b/gcc/testsuite/gcc.target/powerpc/pr108699.c
> @@ -1,4 +1,4 @@
> -/* { dg-run } */
> +/* { dg-do run } */
> /* { dg-options "-O2 -ftree-vectorize -fno-vect-cost-model" } */
>
> #define N 16
>