gcc/testsuite/ChangeLog:
2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* lib/target-supports.exp: Add s390 and s390x to the list of long
long atomic targets.
From-SVN: r231151
2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+ * lib/target-supports.exp: Add s390 and s390x to the list of long
+ long atomic targets.
+
+2015-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
* gcc.dg/optimize-bswapdi-1.c: Force using -mzarch on s390 and
s390x to enable 64 bit bswap patterns.
* gcc.dg/optimize-bswapdi-2.c: Likewise.
# 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-*-*])
|| [istarget arm*-*-*]
|| [istarget alpha*-*-*]
|| ([istarget sparc*-*-*] && [check_effective_target_lp64])
+ || [istarget s390*-*-*]
|| [istarget spu-*-*] } {
return 1
} else {