diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/tree-ssa/pr31146.C | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/pr17141-1.c | 10 |
3 files changed, 14 insertions, 9 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 586fc11de38..73ae05ae238 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +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. + 2007-05-13 Revital Eres <eres@il.ibm.com> * gcc.dg/dse.c: New test. 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?" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr17141-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr17141-1.c index 420c723da7f..f517c89b185 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr17141-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr17141-1.c @@ -1,6 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-forwprop2" } */ - +/* { dg-options "-O2 -fdump-tree-forwprop" } */ struct A { int i; }; int @@ -12,7 +11,6 @@ foo(struct A *locp, int str) return locp->i; } -/* { dg-final { scan-tree-dump-times "&" 0 "forwprop2" } } */ -/* { dg-final { cleanup-tree-dump "forwprop2" } } */ - - +/* { dg-final { scan-tree-dump "locp.*->i =" "forwprop1" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump "locp.*->i =" "forwprop2" } } */ +/* { dg-final { cleanup-tree-dump "forwprop?" } } */ |