loop-15.c: Use optimized dump.

2005-01-07  Richard Guenther  <rguenther@suse.de>

        * gcc.dg/tree-ssa/loop-15.c: Use optimized dump.

From-SVN: r109454
This commit is contained in:
Richard Guenther 2006-01-07 18:17:20 +00:00 committed by Richard Biener
parent ab408bac9d
commit ced0ff2566
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2005-01-07 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/loop-15.c: Use optimized dump.
2005-01-07 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.dg/func_decl_1.f90: New.

View File

@ -1,7 +1,7 @@
/* A test for # of iterations analysis (signed counter cannot wrap) and final
value replacement. */
/* { dg-options "-O2 -fdump-tree-vars" } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int foo(void);
@ -19,9 +19,9 @@ int bla(void)
}
/* Since the loop is removed, there should be no addition. */
/* { dg-final { scan-tree-dump-times "\\+" 0 "vars" } } */
/* { dg-final { scan-tree-dump-times "n \\* n" 1 "vars" } } */
/* { dg-final { scan-tree-dump-times "\\+" 0 "optimized" } } */
/* { dg-final { scan-tree-dump-times "n \\* n" 1 "optimized" } } */
/* The if from the loop header copying remains in the code. */
/* { dg-final { scan-tree-dump-times "if " 1 "vars" } } */
/* { dg-final { cleanup-tree-dump "vars" } } */
/* { dg-final { scan-tree-dump-times "if " 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */