aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2009-11-20 12:58:48 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2009-11-20 12:58:48 +0000
commitb5308c02b4a47313308859129f345336faaf588d (patch)
tree80f13a0cac05b278738ab0956ffdfc7f15f76f87
parent3d68714e229aefd3a91ad16e169f600abca1653d (diff)
downloadgcc-b5308c02b4a47313308859129f345336faaf588d.zip
gcc-b5308c02b4a47313308859129f345336faaf588d.tar.gz
gcc-b5308c02b4a47313308859129f345336faaf588d.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/vrp47.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 56b217c..9c9cf59 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 2e9d08b..2bb10d0 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)