summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c/atomic-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/testsuite/libgomp.c/atomic-1.c')
-rw-r--r--libgomp/testsuite/libgomp.c/atomic-1.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libgomp/testsuite/libgomp.c/atomic-1.c b/libgomp/testsuite/libgomp.c/atomic-1.c
index 82642a4e48d..dfbcf851c44 100644
--- a/libgomp/testsuite/libgomp.c/atomic-1.c
+++ b/libgomp/testsuite/libgomp.c/atomic-1.c
@@ -1,7 +1,5 @@
/* { dg-do run } */
-/* { dg-options "-O2 -fopenmp" } */
-/* { dg-options "-O2 -fopenmp -march=pentium" { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-O2 -fopenmp" { target lp64 } } */
+/* { dg-options "-O2 -march=pentium" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
#ifdef __i386__
#include "../../../gcc/testsuite/gcc.dg/i386-cpuid.h"
@@ -47,7 +45,7 @@ main (void)
cpu_facilities = i386_cpuid ();
- if ((cpu_facilities & bit_CX8) == 0)
+ if (!(cpu_facilities & bit_CX8))
return 0;
#endif