diff mbox

S/390: Enable 64 bit atomic tests with -m31 -mzarch.

Message ID 1448458375-6489-4-git-send-email-krebbel@linux.vnet.ibm.com
State New
Headers show

Commit Message

Andreas Krebbel Nov. 25, 2015, 1:32 p.m. UTC
gcc/testsuite/ChangeLog:

2015-11-25  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

        * lib/target-supports.exp: Add s390 and s390x to the list of long
	long atomic targets.
---
 gcc/testsuite/lib/target-supports.exp | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index acd786e..b0945c4 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -5348,6 +5348,7 @@  proc check_effective_target_sync_int_128_runtime { } {
 # Return 1 if the target supports atomic operations on "long long".
 #
 # Note: 32bit x86 targets require -march=pentium in dg-options.
+# Note: 32bit s390 targets require -mzarch in dg-options.
 
 proc check_effective_target_sync_long_long { } {
     if { [istarget x86_64-*-*] || [istarget i?86-*-*])
@@ -5355,6 +5356,7 @@  proc check_effective_target_sync_long_long { } {
 	 || [istarget arm*-*-*]
 	 || [istarget alpha*-*-*]
 	 || ([istarget sparc*-*-*] && [check_effective_target_lp64])
+	 || [istarget s390*-*-*]
 	 || [istarget spu-*-*] } {
 	return 1
     } else {