From b5308c02b4a47313308859129f345336faaf588d Mon Sep 17 00:00:00 2001 From: Andreas Krebbel <Andreas.Krebbel@de.ibm.com> Date: Fri, 20 Nov 2009 12:58:48 +0000 Subject: [PATCH] vrp47.c: Skip on S/390. 2009-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.dg/tree-ssa/vrp47.c: Skip on S/390. From-SVN: r154363 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/tree-ssa/vrp47.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 56b217cbe53e..9c9cf59745c6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.dg/tree-ssa/vrp47.c: Skip on S/390. + 2009-11-20 Shujing Zhao <pearly.zhao@oracle.com> * g++.old-deja/g++.jason/rfg20.C: Make expected dg-error strings diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c index 2e9d08b59fa4..2bb10d063a29 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c @@ -1,6 +1,9 @@ /* Skip on MIPS, where LOGICAL_OP_NON_SHORT_CIRCUIT inhibits the setcc optimizations that expose the VRP opportunity. */ -/* { dg-do compile { target { ! mips*-*-* } } } */ +/* Skip on S/390. Lower values in BRANCH_COST lead to two conditional + jumps when evaluating an && condition. VRP is not able to optimize + this. */ +/* { dg-do compile { target { ! mips*-*-* ! s390*-*-* } } } */ /* { dg-options "-O2 -fdump-tree-vrp -fdump-tree-dom" } */ int h(int x, int y) -- GitLab