re PR tree-optimization/47835 (FAIL: gcc.dg/pr46909.c scan-tree-dump ifcombine "optim...
authorJakub Jelinek <jakub@redhat.com>
Tue, 22 Feb 2011 13:40:24 +0000 (14:40 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 22 Feb 2011 13:40:24 +0000 (14:40 +0100)
PR tree-optimization/47835
* gcc.dg/pr46909.c: Check optimized dump instead of ifcombine.

From-SVN: r170399

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46909.c

index 4d824c3ccd690dcd5b942a5c87aa06c2ad6015e5..d2fac3d4b8ab8391c3b28f6ff2094298b04084fe 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-22  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/47835
+       * gcc.dg/pr46909.c: Check optimized dump instead of ifcombine.
+
 2011-02-22  Tobias Burnus  <burnus@net-b.de>
 
        * abstract_type_1.f90: Fix dg-do syntax.
index affedab8676fd3b10f3af69bc0d31f198aef81c8..8bfaf05078c7acebb98acc96055b8a908be06b49 100644 (file)
@@ -1,6 +1,6 @@
 /* PR tree-optimization/46909 */
 /* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-ifcombine" } */
+/* { dg-options "-O2 -fdump-tree-optimized" } */
 
 extern void abort ();
 
@@ -13,5 +13,8 @@ foo (unsigned int x)
   return -1;
 }
 
-/* { dg-final { scan-tree-dump "optimizing two comparisons to x_\[0-9\]+\\(D\\) != 4" "ifcombine" } } */
-/* { dg-final { cleanup-tree-dump "ifcombine" } } */
+/* { dg-final { scan-tree-dump-times "x_\[0-9\]+\\(D\\) != 4" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "x_\[0-9\]+\\(D\\) != 6" 0 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "x_\[0-9\]+\\(D\\) == 2" 0 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "x_\[0-9\]+\\(D\\) == 6" 0 "optimized" } } */
+/* { dg-final { cleanup-tree-dump "optimized" } } */