* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / run-id-pr67700.c
blob81d9e7f26805213a6a27e15120514e7f781d9b74
1 #include <stdlib.h>
2 #include <assert.h>
4 struct abc {
5 int a[81];
6 } *abcd;
8 #define FPMATH_SSE 2
9 int global;
11 void __attribute__ ((noinline)) foo()
13 int pos = 0;
14 int i;
16 if (!((global & FPMATH_SSE) != 0))
17 for (i = 8; i <= 15; i++)
18 abcd->a[pos++] = i;
20 for (i = 29; i <= 36; i++)
21 abcd->a[pos++] = i;
24 int main()
26 int i;
27 abcd = (struct abc*) malloc (sizeof (struct abc));
28 for (i = 0; i <= 80; i++)
29 abcd->a[i] = 0;
31 foo();
33 assert (abcd->a[8] == 29);
35 return 0;