CLooG 0.18.4
[cloog.git] / test / merge.good.c
blob283dc4b753667d64c06db28abb60c6794038513a
1 /* Generated from ../../../git/cloog/test/merge.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); }
11 #define S2(i) { hash(2); hash(i); }
12 #define S3(i) { hash(3); hash(i); }
14 void test()
16 /* Scattering iterators. */
17 int c1;
18 /* Original iterators. */
19 int i;
20 for (c1=0;c1<=10;c1++) {
21 if (c1 == 0) {
22 S1(0) ;
24 if (c1 >= 2) {
25 S2(c1) ;
27 S3(c1) ;