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
);
26 for ( i
= 0; i
< MAX
; i
++ ) {
39 void sub( struct s
*p
, struct s
**pp
)
41 for ( ; look( p
, pp
); ) {
49 int look( struct s
*p
, struct s
**pp
)
58 /* { dg-final { scan-tree-dump "Cleaned-up latch block of loop with single BB" "optimized" { xfail { *-*-* } } } } */