2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 /* Same test as 990128-1.c. */
5 extern int printf (const char *,...);
6 extern void abort (void);
8 struct s
{ struct s
*n
; } *p
;
14 void sub( struct s
*p
, struct s
**pp
);
15 int look( struct s
*p
, struct s
**pp
);
25 for ( i
= 0; i
< MAX
; i
++ ) {
38 void sub( struct s
*p
, struct s
**pp
)
40 for ( ; look( p
, pp
); ) {
48 int look( struct s
*p
, struct s
**pp
)
57 /* { dg-final { scan-tree-dump "Cleaned-up latch block of loop with single BB" "optimized" { xfail { *-*-* } } } } */
58 /* { dg-final { cleanup-tree-dump "optimized" } } */