This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[4.1] Skip atomic memory access tests on SPARC
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 6 Jan 2007 23:44:20 +0100
- Subject: [4.1] Skip atomic memory access tests on SPARC
The support was added by Jakub in the 4.2 timeframe.
Tested on SPARC64/Solaris 9, applied to 4.1 branch.
2007-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
* lib/target-supports.exp (check_effective_target_sync_int_long):
Always return 0 for SPARC targets.
(check_effective_target_sync_char_short): Likewise.
--
Eric Botcazou
Index: target-supports.exp
===================================================================
--- lib/target-supports.exp (revision 120520)
+++ lib/target-supports.exp (working copy)
@@ -1468,9 +1468,7 @@
|| [istarget x86_64-*-*]
|| [istarget alpha*-*-*]
|| [istarget s390*-*-*]
- || [istarget powerpc*-*-*]
- || [istarget sparc64-*-*]
- || [istarget sparcv9-*-*] } {
+ || [istarget powerpc*-*-*] } {
set et_sync_int_long_saved 1
}
}
@@ -1495,9 +1493,7 @@
|| [istarget x86_64-*-*]
|| [istarget alpha*-*-*]
|| [istarget s390*-*-*]
- || [istarget powerpc*-*-*]
- || [istarget sparc64-*-*]
- || [istarget sparcv9-*-*] } {
+ || [istarget powerpc*-*-*] } {
set et_sync_char_short_saved 1
}
}