* [PATCH] S/390: bswap testcases require -march=z900 to work with -m31.
@ 2015-11-25 13:33 Andreas Krebbel
0 siblings, 0 replies; only message in thread
From: Andreas Krebbel @ 2015-11-25 13:33 UTC (permalink / raw)
To: gcc-patches
These testcase currently fail being run on s390x with -m31.
gcc/testsuite/ChangeLog:
2015-11-25 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.
---
gcc/testsuite/gcc.dg/builtin-bswap-6a.c | 2 +-
gcc/testsuite/gcc.dg/optimize-bswapsi-1.c | 2 +-
gcc/testsuite/gcc.dg/optimize-bswapsi-2.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/builtin-bswap-6a.c b/gcc/testsuite/gcc.dg/builtin-bswap-6a.c
index a8b9531..90dfd7d 100644
--- a/gcc/testsuite/gcc.dg/builtin-bswap-6a.c
+++ b/gcc/testsuite/gcc.dg/builtin-bswap-6a.c
@@ -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
diff --git a/gcc/testsuite/gcc.dg/optimize-bswapsi-1.c b/gcc/testsuite/gcc.dg/optimize-bswapsi-1.c
index fb1d884..77916a7 100644
--- a/gcc/testsuite/gcc.dg/optimize-bswapsi-1.c
+++ b/gcc/testsuite/gcc.dg/optimize-bswapsi-1.c
@@ -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>
diff --git a/gcc/testsuite/gcc.dg/optimize-bswapsi-2.c b/gcc/testsuite/gcc.dg/optimize-bswapsi-2.c
index dfa3763..a1558af 100644
--- a/gcc/testsuite/gcc.dg/optimize-bswapsi-2.c
+++ b/gcc/testsuite/gcc.dg/optimize-bswapsi-2.c
@@ -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>
--
2.3.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-25 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 13:33 [PATCH] S/390: bswap testcases require -march=z900 to work with -m31 Andreas Krebbel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).