Hi,

ilp32 includes both x32 and ia32.  -march=i486 only applies to ia32.
I checked in this patch to check ia32 instead of ilp32.


H.J.
---
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 181359)
+++ ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2011-11-14  H.J. Lu  <hongjiu...@intel.com>
+
+       * testsuite/lib/libitm.exp: Check ia32 instead of ilp32.
+
 2011-11-10  Rainer Orth  <r...@cebitec.uni-bielefeld.de>
 
        * config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use
Index: testsuite/lib/libitm.exp
===================================================================
--- testsuite/lib/libitm.exp    (revision 181359)
+++ testsuite/lib/libitm.exp    (working copy)
@@ -144,7 +144,7 @@ proc libitm_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"
     }
 

Reply via email to