summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tree-ssa/pr31146.C
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-13 12:18:19 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-13 12:18:19 +0000
commit5e3a3b265da8f073c26627af83ff64ddcade6432 (patch)
tree8adcc20fdf2ee49494203d42efe115636eb7e274 /gcc/testsuite/g++.dg/tree-ssa/pr31146.C
parent64dfe251adaafab6f6fe0bfb1a04b294e8606a5b (diff)
downloadgcc-5e3a3b265da8f073c26627af83ff64ddcade6432.tar.gz
2007-05-13 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/pr17141-1.c: Scan in forwprop2, xfail scanning forwprop1. * g++.dg/tree-ssa/pr31146.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/tree-ssa/pr31146.C')
-rw-r--r--gcc/testsuite/g++.dg/tree-ssa/pr31146.C7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr31146.C b/gcc/testsuite/g++.dg/tree-ssa/pr31146.C
index e91d17415b3..6123e033c78 100644
--- a/gcc/testsuite/g++.dg/tree-ssa/pr31146.C
+++ b/gcc/testsuite/g++.dg/tree-ssa/pr31146.C
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O -fdump-tree-forwprop1" } */
+/* { dg-options "-O -fdump-tree-forwprop" } */
/* We should be able to optimize this to i[j] = 1 during
early optimizations. */
@@ -12,5 +12,6 @@ void foo (int j)
*q = 1;
}
-/* { dg-final { scan-tree-dump "i\\\[j.*\\\] = 1;" "forwprop1" } } */
-/* { dg-final { cleanup-tree-dump "forwprop1" } } */
+/* { dg-final { scan-tree-dump "i\\\[j.*\\\] = 1;" "forwprop1" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump "i\\\[j.*\\\] = 1;" "forwprop2" } } */
+/* { dg-final { cleanup-tree-dump "forwprop?" } } */