diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-28 20:35:32 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-28 20:35:32 +0000 |
commit | 338a7570fb71c32c578cdf508f1e9caa10b85f9c (patch) | |
tree | 8d8ec220d958ea1bc3ea730eeebc74323da850b9 /libgomp/testsuite/lib | |
parent | 6aed04847544fdcf878f16122a4e70ef12feec69 (diff) | |
download | gcc-338a7570fb71c32c578cdf508f1e9caa10b85f9c.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176893 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite/lib')
-rw-r--r-- | libgomp/testsuite/lib/libgomp.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index 976543dab17..a75e22f7899 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" } |