1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
3 /* { dg-require-effective-target int32plus } */
11 for (i
= 0; i
< 100000; i
++)
15 for (i
= 0; i
< n
; i
++)
18 for (i
= 0; i
< n
; i
++)
19 for (j
= 0; j
< n
; j
++)
22 /* These should not be removed. */
23 for (i
= 0; i
< 10000; i
++)
26 for (i
= 0; i
!= n
; i
+= 2)
30 /* { dg-final { scan-tree-dump-times "if " 3 "optimized" } } */
31 /* { dg-final { scan-tree-dump-times "bar " 2 "optimized" } } */
33 /* { dg-final { cleanup-tree-dump "optimized" } } */