1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-lim2-details" } */
19 /* We should perform store motion here. */
20 for (x
= 0; x
< 100; x
++)
29 for (x
= 0; x
< 100; x
++)
33 void test3(struct a
*A
)
37 /* But we should here (using base + offset analysis). */
38 for (i
= 0; i
< 100; i
++)
45 /* { dg-final { scan-tree-dump-times "Executing store motion of" 3 "lim2" } } */