This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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
         }
     }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]