pr17141-1.c: Scan in forwprop2, xfail scanning forwprop1.
authorRichard Guenther <rguenther@suse.de>
Sun, 13 May 2007 12:18:19 +0000 (12:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sun, 13 May 2007 12:18:19 +0000 (12:18 +0000)
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.

From-SVN: r124653

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr31146.C
gcc/testsuite/gcc.dg/tree-ssa/pr17141-1.c

index 586fc11de3856fbd05458c2de433469ee0a2afb0..73ae05ae2388b199404991c7a46619a427c57111 100644 (file)
@@ -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.
index e91d17415b32fc4e714288dd725bf09011dc4cf5..6123e033c782ca16847cd868c93665aa6ba4196f 100644 (file)
@@ -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?" } } */
index 420c723da7feadd8aaf07f0f8f8e29c26fd7373c..f517c89b185665a03e562bcf9ae142b40d38d8bc 100644 (file)
@@ -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?" } } */