1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp" } */
4 // Define this to see it work.
5 // #define WORK_WORK_WORK
10 #define FIRST i < 0 ||
17 #define ORIG unsigned int
21 #define CAST (unsigned)
22 #endif // WORK_WORK_WORK
32 extern void call (ORIG);
36 for (ORIG i = 0; i < a->len; ++i)
38 if (FIRST CAST (i) >= CAST (a->len))
44 /* VRP should remove all but 1 if() in the loop. */
46 /* { dg-final { scan-tree-dump-times "if " 1 "vrp"} } */
47 /* { dg-final { cleanup-tree-dump "vrp" } } */