aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2008-03-14 07:54:19 +0100
committerUros Bizjak <uros@gcc.gnu.org>2008-03-14 07:54:19 +0100
commitef982d9466f775b35ead21d811dcd5d99798b7ad (patch)
tree2fd4ac4e46f4dae0aa069a596b30a58d2c498417
parent1af99ce67f5ee6706ca20710afac871d0e385889 (diff)
downloadgcc-ef982d9466f775b35ead21d811dcd5d99798b7ad.zip
gcc-ef982d9466f775b35ead21d811dcd5d99798b7ad.tar.gz
gcc-ef982d9466f775b35ead21d811dcd5d99798b7ad.tar.bz2
re PR testsuite/35538 (FAIL: gcc.dg/tree-ssa/ssa-store-ccp-4.c scan-tree-dump-times optimized "conststaticvariable" 1)
PR testsuite/35538 * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Support PIC targets. Skip *-*-darwin*. * gcc.dg/tree-ssa/ssa-store-ccp-4.c: Skip *-*-darwin*. From-SVN: r133208
-rw-r--r--gcc/testsuite/ChangeLog16
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-3.c8
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-4.c1
3 files changed, 18 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bfb5d1a..9b147a3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,14 +1,22 @@
+2008-03-14 H.J. Lu <hongjiu.lu@intel.com>
+ Uros Bizjak <ubizjak@gmail.com>
+
+ PR testsuite/35538
+ * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Support PIC targets.
+ Skip *-*-darwin*.
+ * gcc.dg/tree-ssa/ssa-store-ccp-4.c: Skip *-*-darwin*.
+
2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR testsuite/35406
- * gcc.dg/tree-ssa/ldist-4.c: Update expected scan match count from 0
- to 1.
+ * gcc.dg/tree-ssa/ldist-4.c: Update expected scan match
+ count from 0 to 1.
2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR testsuite/35406
- * gfortran.dg/ldist-1.f90: Update test to check for 5 loops distributed
- instead of 4.
+ * gfortran.dg/ldist-1.f90: Update test to check
+ for 5 loops distributed instead of 4.
2008-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
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 2f028a2..01eb785 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,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
/* { dg-options "-O2 -fno-common -fdump-tree-optimized" } */
const int conststaticvariable;
@@ -8,7 +9,8 @@ int f(void)
return conststaticvariable;
}
-/* There should be no reference to conststaticvariable as we should have
- inlined the 0. */
-/* { dg-final { scan-tree-dump-times "conststaticvariable" 0 "optimized"} } */
+/* There should be no reference for nonpic targets to
+ conststaticvariable as we should have inlined the 0. */
+/* { dg-final { scan-tree-dump-times "conststaticvariable" 0 "optimized" { target nonpic } } } */
+/* { dg-final { scan-tree-dump-times "conststaticvariable" 1 "optimized" { target { ! nonpic } } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-4.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-4.c
index cbf8bab..571fc02 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-4.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-store-ccp-4.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
+/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
/* { dg-options "-O2 -fno-common -fpic -fdump-tree-optimized" } */
const int conststaticvariable;