aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2009-01-21 18:57:22 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2009-01-21 18:57:22 +0000
commitdbbe69371ec3b3e8bb637c0d2891fcc97777a252 (patch)
treea5dadee06b8203c5a2035fd59707af19d28c13e9 /gcc
parentbfcccc7f7722dc696716a7fc266cf84f97bb55b1 (diff)
downloadgcc-dbbe69371ec3b3e8bb637c0d2891fcc97777a252.zip
gcc-dbbe69371ec3b3e8bb637c0d2891fcc97777a252.tar.gz
gcc-dbbe69371ec3b3e8bb637c0d2891fcc97777a252.tar.bz2
ssa-store-ccp-3.c: Skip for mips*-*-linux* and mips*-*-irix*.
gcc/testsuite/ * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip for mips*-*-linux* and mips*-*-irix*. * gcc.dg/tree-ssa/vrp47.c: Skip for all MIPS targets. From-SVN: r143551
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c4
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/vrp47.c4
3 files changed, 12 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 25877b3..70ae0d7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-21 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip for mips*-*-linux*
+ and mips*-*-irix*.
+ * gcc.dg/tree-ssa/vrp47.c: Skip for all MIPS targets.
+
2009-01-21 Dodji Seketeli <dodji@redhat.com>
PR c++/26693
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c
index 1db56a1..fd6b7c8 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c
@@ -1,5 +1,7 @@
/* { dg-do compile } */
-/* { dg-skip-if "" { *-*-darwin* hppa*64*-*-* } { "*" } { "" } } */
+/* Skipped on MIPS GNU/Linux and IRIX target because __PIC__ can be
+ defined for executables as well as shared libraries. */
+/* { dg-skip-if "" { *-*-darwin* hppa*64*-*-* mips*-*-linux* mips*-*-irix* } { "*" } { "" } } */
/* { dg-options "-O2 -fno-common -fdump-tree-optimized" } */
const int conststaticvariable;
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c
index a1ee927..2e9d08b 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c
@@ -1,4 +1,6 @@
-/* { dg-do compile } */
+/* Skip on MIPS, where LOGICAL_OP_NON_SHORT_CIRCUIT inhibits the setcc
+ optimizations that expose the VRP opportunity. */
+/* { dg-do compile { target { ! mips*-*-* } } } */
/* { dg-options "-O2 -fdump-tree-vrp -fdump-tree-dom" } */
int h(int x, int y)