aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2011-07-28 20:35:32 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2011-07-28 13:35:32 -0700
commitf53d712fa9ccac994164e42e463c806c4e25e2e1 (patch)
tree8d8ec220d958ea1bc3ea730eeebc74323da850b9
parent4fe249e74807053dac6c37a8e23f43155ecb6ccb (diff)
downloadgcc-f53d712fa9ccac994164e42e463c806c4e25e2e1.zip
gcc-f53d712fa9ccac994164e42e463c806c4e25e2e1.tar.gz
gcc-f53d712fa9ccac994164e42e463c806c4e25e2e1.tar.bz2
Check ia32 instead of ilp32 for ia32 tests.
2011-07-28 H.J. Lu <hongjiu.lu@intel.com> * testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486 for ia32 instead of ilp32. * testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32. * testsuite/libgomp.c/atomic-6.c: Likewise. From-SVN: r176893
-rw-r--r--libgomp/ChangeLog8
-rw-r--r--libgomp/testsuite/lib/libgomp.exp2
-rw-r--r--libgomp/testsuite/libgomp.c/atomic-1.c2
-rw-r--r--libgomp/testsuite/libgomp.c/atomic-6.c2
4 files changed, 11 insertions, 3 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index b9455b4..19c88fb 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,11 @@
+2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486
+ for ia32 instead of ilp32.
+
+ * testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32.
+ * testsuite/libgomp.c/atomic-6.c: Likewise.
+
2011-07-23 Sebastian Pop <sebastian.pop@amd.com>
* testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail.
diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp
index 976543d..a75e22f789 100644
--- a/libgomp/testsuite/lib/libgomp.exp
+++ b/libgomp/testsuite/lib/libgomp.exp
@@ -140,7 +140,7 @@ proc libgomp_init { args } {
# We use atomic operations in the testcases to validate results.
if { ([istarget i?86-*-*] || [istarget x86_64-*-*])
- && [check_effective_target_ilp32] } {
+ && [check_effective_target_ia32] } {
lappend ALWAYS_CFLAGS "additional_flags=-march=i486"
}
diff --git a/libgomp/testsuite/libgomp.c/atomic-1.c b/libgomp/testsuite/libgomp.c/atomic-1.c
index b2be8f0..4725b7d 100644
--- a/libgomp/testsuite/libgomp.c/atomic-1.c
+++ b/libgomp/testsuite/libgomp.c/atomic-1.c
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-options "-O2 -march=pentium" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-options "-O2 -march=pentium" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
#ifdef __i386__
#include "cpuid.h"
diff --git a/libgomp/testsuite/libgomp.c/atomic-6.c b/libgomp/testsuite/libgomp.c/atomic-6.c
index 59baf7d..f8ab75e 100644
--- a/libgomp/testsuite/libgomp.c/atomic-6.c
+++ b/libgomp/testsuite/libgomp.c/atomic-6.c
@@ -1,7 +1,7 @@
/* PR middle-end/36106 */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mieee" { target alpha*-*-* } } */
-/* { dg-options "-O2 -march=i586" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-options "-O2 -march=i586" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
#ifdef __i386__
# include "cpuid.h"