aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/gomp
diff options
context:
space:
mode:
authorSandra Loosemore <sloosemore@baylibre.com>2025-01-17 03:59:01 +0000
committerSandra Loosemore <sloosemore@baylibre.com>2025-01-17 04:07:54 +0000
commitc6f9f53d6eb5a2568d231ffa56fbec3e2e4c626d (patch)
tree40ba5373999d7c49f77ce3c415af65a75b31a085 /gcc/testsuite/c-c++-common/gomp
parent59a869d7196132ae5257fcb068508561d3526c7d (diff)
downloadgcc-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.c2
-rw-r--r--gcc/testsuite/c-c++-common/gomp/metadirective-target-device-1.c2
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>