re PR tree-optimization/47835 (FAIL: gcc.dg/pr46909.c scan-tree-dump ifcombine "optimizing two comparisons to x_[0-9]+\(D\) != 4")

PR tree-optimization/47835
	* gcc.dg/pr46909.c: Check optimized dump instead of ifcombine.

From-SVN: r170399
This commit is contained in:
Jakub Jelinek 2011-02-22 14:40:24 +01:00 committed by Jakub Jelinek
parent 1c4bc9caa3
commit aa47901206
2 changed files with 11 additions and 3 deletions

View 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.

View 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" } } */