1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-lim-details" } */
20 for (i
= 0; i
< 100; i
++)
27 void test2(struct a
*A
, int b
)
31 /* And here as well. */
32 for (i
= 0; i
< 100; i
++)
39 void test3(unsigned long b
)
44 for (i
= 0; i
< 100; i
++)
51 void test4(struct a
*A
, unsigned long b
)
55 /* And here as well. */
56 for (i
= 0; i
< 100; i
++)
63 /* { dg-final { scan-tree-dump-times "Executing store motion of" 8 "lim" } } */
64 /* { dg-final { cleanup-tree-dump "lim" } } */