Fix include directory for libcloog-isl
[cloog/bastoul.git] / test / iftest.good.c
blob4ce26e440fb9fbfb03aaf4c34405bcd7480e47d5
1 /* Generated from ../../../git/cloog/test/iftest.cloog by CLooG 0.14.0-72-gefe2fc2 gmp bits in 0.00s. */
2 extern void hash(int);
4 /* Useful macros. */
5 #define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d))
6 #define ceild(n,d) (((n)<0) ? -((-(n))/(d)) : ((n)+(d)-1)/(d))
7 #define max(x,y) ((x) > (y) ? (x) : (y))
8 #define min(x,y) ((x) < (y) ? (x) : (y))
10 #define S1(i) { hash(1); hash(i); }
12 void test(int m, int n)
14 /* Original iterators. */
15 int i;
16 for (i=1;i<=n;i++) {
17 if (i <= 2*m) {
18 S1(i) ;
20 if (i >= max(m,2*m+1)) {
21 S1(i) ;