diff mbox

PR 68749: S/390: Disable ifcvt-4.c for -m31.

Message ID 20170215111959.GA31047@linux.vnet.ibm.com
State New
Headers show

Commit Message

Dominik Vogt Feb. 15, 2017, 11:19 a.m. UTC
The attached patch disables the test ifcvt-4.c on s390 and on
s390x with -31, and adds -march=z196 for s390x.  It should no
longer fail on s390 and s390x.

Tested on s390x biarch.

Ciao

Dominik ^_^  ^_^

Comments

Andreas Krebbel Feb. 23, 2017, 3:37 p.m. UTC | #1
On 02/15/2017 12:19 PM, Dominik Vogt wrote:
> The attached patch disables the test ifcvt-4.c on s390 and on
> s390x with -31, and adds -march=z196 for s390x.  It should no
> longer fail on s390 and s390x.
> 
> Tested on s390x biarch.
> 
> Ciao
> 
> Dominik ^_^  ^_^
> 
Applied. Thanks!

-Andreas-
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.dg/ifcvt-4.c b/gcc/testsuite/gcc.dg/ifcvt-4.c
index 466ad15..b4a4bc8 100644
--- a/gcc/testsuite/gcc.dg/ifcvt-4.c
+++ b/gcc/testsuite/gcc.dg/ifcvt-4.c
@@ -1,6 +1,8 @@ 
 /* { dg-options "-fdump-rtl-ce1 -O2 --param max-rtl-if-conversion-insns=3 --param max-rtl-if-conversion-unpredictable-cost=100" } */
 /* { dg-additional-options "-misel" { target { powerpc*-*-* } } } */
-/* { dg-skip-if "Multiple set if-conversion not guaranteed on all subtargets" { "arm*-*-* hppa*64*-*-* visium-*-*" riscv*-*-* } }  */
+/* { dg-additional-options "-march=z196" { target { s390x-*-* } } } */
+/* { dg-skip-if "Multiple set if-conversion not guaranteed on all subtargets" { "arm*-*-* hppa*64*-*-* s390-*-* visium-*-*" riscv*-*-* } }  */
+/* { dg-skip-if "" { "s390x-*-*" } { "-m31" } }  */
 
 typedef int word __attribute__((mode(word)));