Hi Lili,

> diff --git a/gcc/testsuite/gcc.dg/vect/slp-reduc-15.c 
> b/gcc/testsuite/gcc.dg/vect/slp-reduc-15.c
> index 4745f85511b..d22114d6960 100644
> --- a/gcc/testsuite/gcc.dg/vect/slp-reduc-15.c
> +++ b/gcc/testsuite/gcc.dg/vect/slp-reduc-15.c
> @@ -1,6 +1,7 @@
> -/* { dg-do compile } */
> -/* { dg-require-effective-target vect_float } */
> -/* { dg-additional-options "-fgimple -march=x86-64-v3" { target x86_64-*-* } 
> } */
> +/* { dg-do compile { target { x86_64-*-* || aarch64-*-* } } } */
> +/* { dg-additional-options "-fgimple" } */
> +/* { dg-additional-options "-march=x86-64-v3" { target x86_64-*-* } } */

using unadorned target x86_64-*-* is always wrong: a multilibbed
i386-*-* target with -m64 also generates 64-bit code.  If you want to
restrict the test to 64-bit x86, use target { x86 && lp64 } instead.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to