diff options
author | Sandra Loosemore <sloosemore@baylibre.com> | 2025-01-17 03:59:01 +0000 |
---|---|---|
committer | Sandra Loosemore <sloosemore@baylibre.com> | 2025-01-17 04:07:54 +0000 |
commit | c6f9f53d6eb5a2568d231ffa56fbec3e2e4c626d (patch) | |
tree | 40ba5373999d7c49f77ce3c415af65a75b31a085 /gcc/testsuite/c-c++-common/gomp | |
parent | 59a869d7196132ae5257fcb068508561d3526c7d (diff) | |
download | gcc-c6f9f53d6eb5a2568d231ffa56fbec3e2e4c626d.zip gcc-c6f9f53d6eb5a2568d231ffa56fbec3e2e4c626d.tar.gz gcc-c6f9f53d6eb5a2568d231ffa56fbec3e2e4c626d.tar.bz2 |
OpenMP: Fix metadirective test failures on x86_64 with -m32
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.
Diffstat (limited to 'gcc/testsuite/c-c++-common/gomp')
-rw-r--r-- | gcc/testsuite/c-c++-common/gomp/metadirective-device.c | 2 | ||||
-rw-r--r-- | 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 09b795e..3807624 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 6373349..5d3a4c3 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> |