S/390: bswap testcases require -march=z900 to work with -m31.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 2 Dec 2015 07:37:23 +0000 (07:37 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 2 Dec 2015 07:37:23 +0000 (07:37 +0000)
gcc/testsuite/ChangeLog:

2015-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.dg/builtin-bswap-6a.c: Add -march=z900 for s390 and s390x in
order to make -m31 work.
* gcc.dg/optimize-bswapsi-1.c: Likewise.
* gcc.dg/optimize-bswapsi-2.c: Likewise.

From-SVN: r231148

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtin-bswap-6a.c
gcc/testsuite/gcc.dg/optimize-bswapsi-1.c
gcc/testsuite/gcc.dg/optimize-bswapsi-2.c

index da31935c269c136c2e06acf0dad723bb74a8eb98..cdeedb1db91dd63e518bf18581febc8665e2b11a 100644 (file)
@@ -1,3 +1,10 @@
+2015-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+        * gcc.dg/builtin-bswap-6a.c: Add -march=z900 for s390 and s390x in
+       order to make -m31 work.
+        * gcc.dg/optimize-bswapsi-1.c: Likewise.
+        * gcc.dg/optimize-bswapsi-2.c: Likewise.
+
 2015-12-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/68533
index a8b953122b0f5e389919678edf3e41ae5f71bc5f..90dfd7d6242b59048fd30dc229a3d00d6fd7dd42 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do compile { target arm*-*-* alpha*-*-* i?86-*-* powerpc*-*-* rs6000-*-* x86_64-*-* s390*-*-* } } */
 /* { dg-require-effective-target stdint_types } */
 /* { dg-options "-O2 -fdump-rtl-combine" } */
-/* { dg-additional-options "-march=z900" { target s390-*-* } } */
+/* { dg-additional-options "-march=z900" { target s390*-*-* } } */
 
 /* The test is similiar to builtin-bswap-6.c but returns 1/2 instead
    of 0/1 to prevent GCC from calculating the return value with
index fb1d884c0fb78b701f3d64ca668535095083e2a1..77916a7a955a9e1645e0ebfddd39110d88021feb 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target bswap32 } */
 /* { dg-require-effective-target stdint_types } */
 /* { dg-options "-O2 -fdump-tree-bswap" } */
-/* { dg-additional-options "-march=z900" { target s390-*-* } } */
+/* { dg-additional-options "-march=z900" { target s390*-*-* } } */
 
 #include <stdint.h>
 
index dfa37634226b7aa31e5f17e1e44958cf4e0d8811..a1558af2cc74adde439d42223b00977d9eeb9639 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target bswap32 } */
 /* { dg-require-effective-target stdint_types } */
 /* { dg-options "-O2 -fdump-tree-bswap" } */
-/* { dg-additional-options "-march=z900" { target s390-*-* } } */
+/* { dg-additional-options "-march=z900" { target s390*-*-* } } */
 
 #include <stdint.h>