1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-lim1-details" } */
13 /* Word size is long long for 64-bit mingw target. */
15 #define LONG long long
27 for (i
= 0; i
< 100; i
++)
34 void test2(struct a
*A
, int b
)
38 /* And here as well. */
39 for (i
= 0; i
< 100; i
++)
46 void test3(unsigned LONG b
)
51 for (i
= 0; i
< 100; i
++)
58 void test4(struct a
*A
, unsigned LONG b
)
62 /* And here as well. */
63 for (i
= 0; i
< 100; i
++)
69 /* long index not hoisted for avr target PR 36561 */
70 /* { dg-final { scan-tree-dump-times "Executing store motion of" 8 "lim1" { xfail { "avr-*-*" } } } } */
71 /* { dg-final { scan-tree-dump-times "Executing store motion of" 6 "lim1" { target { "avr-*-*" } } } } */
72 /* { dg-final { cleanup-tree-dump "lim1" } } */