Get rid of the warning about ignoring the return value of fgets
[cloog.git] / test / constbound.good.c
blob30704dd3052002abaad6802c03c10a0ce5e23f30
1 /* Generated from /home/skimo/git/cloog/test/constbound.cloog by CLooG 0.14.0-170-g72daac3 64 bits in 0.01s. */
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,j,k) { hash(1); hash(i); hash(j); hash(k); }
11 #define S2(i,j,k) { hash(2); hash(i); hash(j); hash(k); }
13 void test()
15 /* Scattering iterators. */
16 int t0, t2, t3;
17 /* Original iterators. */
18 int i, j, k;
19 for (t0=0;t0<=199;t0++) {
20 for (t2=max(0,50*t0);t2<=50*t0+24;t2++) {
21 for (t3=0;t3<=t2;t3++) {
22 S1(t0,t2,t3);
25 for (t2=50*t0+25;t2<=min(9999,50*t0+49);t2++) {
26 for (t3=0;t3<=t2;t3++) {
27 S2(t0,t2,t3);