gcc/testsuite/ChangeLog:

2015-11-25  Andreas Krebbel  <kreb...@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 --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 {
-- 
2.3.0

Reply via email to