> From: Sandra Loosemore <sloosem...@baylibre.com>
> Sent: Friday, January 17, 2025 12:11 PM
> 

Thanks for the quick fix!

Thx,
Haochen

> gcc/testsuite/ChangeLog
>       * c-c++-common/gomp/metadirective-device.c: Don't add extra
> options
>       for target ia32.
>       * c-c++-common/gomp/metadirective-target-device-1.c: Likewise.
> ---
>  gcc/testsuite/c-c++-common/gomp/metadirective-device.c          | 2 +-
>  gcc/testsuite/c-c++-common/gomp/metadirective-target-device-1.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gcc/testsuite/c-c++-common/gomp/metadirective-device.c
> b/gcc/testsuite/c-c++-common/gomp/metadirective-device.c
> index 09b795eeabe..380762477b0 100644
> --- a/gcc/testsuite/c-c++-common/gomp/metadirective-device.c
> +++ b/gcc/testsuite/c-c++-common/gomp/metadirective-device.c
> @@ -1,6 +1,6 @@
>  /* { dg-do compile }  */
>  /* { dg-additional-options "-foffload=disable -fdump-tree-optimized" } */
> -/* { dg-additional-options "-DDEVICE_ARCH=x86_64 -DDEVICE_ISA=sse -
> msse" { target x86_64-*-* } } */
> +/* { dg-additional-options "-DDEVICE_ARCH=x86_64 -DDEVICE_ISA=sse -
> msse" { target { x86_64-*-* && { ! ia32 } } } } */
> 
>  #include <stdlib.h>
> 
> diff --git a/gcc/testsuite/c-c++-common/gomp/metadirective-target-device-
> 1.c b/gcc/testsuite/c-c++-common/gomp/metadirective-target-device-1.c
> index 6373349d37f..5d3a4c3ff9b 100644
> --- a/gcc/testsuite/c-c++-common/gomp/metadirective-target-device-1.c
> +++ b/gcc/testsuite/c-c++-common/gomp/metadirective-target-device-1.c
> @@ -1,6 +1,6 @@
>  /* { dg-do compile }  */
>  /* { dg-additional-options "-fdump-tree-optimized" } */
> -/* { dg-additional-options "-DDEVICE_ARCH=x86_64 -DDEVICE_ISA=mmx -
> mmmx" { target x86_64-*-* } }  */
> +/* { dg-additional-options "-DDEVICE_ARCH=x86_64 -DDEVICE_ISA=mmx -
> mmmx" { target { x86_64-*-* && { ! ia32 } } } } */
> 
>  #include <stdlib.h>
> 
> --
> 2.34.1

Reply via email to