]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
OpenMP: Fix metadirective test failures on x86_64 with -m32
authorSandra Loosemore <sloosemore@baylibre.com>
Fri, 17 Jan 2025 03:59:01 +0000 (03:59 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Fri, 17 Jan 2025 04:07:54 +0000 (04:07 +0000)
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
gcc/testsuite/c-c++-common/gomp/metadirective-target-device-1.c

index 09b795eeabe95eb24731e87f4e087806f9a36006..380762477b07c6125c6db5c9ba66d271374bd675 100644 (file)
@@ -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>
 
index 6373349d37f1f37ec6c6a2daba5a8cd5a9723918..5d3a4c3ff9be8368881adc12cea4d0fdb7b35fbe 100644 (file)
@@ -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>