PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr37686.c
bloba5094bf97544560278a794744d13eca05ce31fe0
1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-options "-O3 -ftree-loop-linear" } */
4 unsigned char inUse[256];
5 unsigned char len[6][258];
6 int code[6][258];
7 unsigned int crc32Table[256] = { };
8 unsigned int getGlobalCRC (void) { }
9 int bsLive;
10 void bsW (int n, unsigned int v) {
11 while (bsLive >= 8) {}
13 void hbAssignCodes (int * code, unsigned char * length, int minLen,
14 int maxLen, int alphaSize) {
15 int n, vec, i;
16 for (n = minLen;n <= maxLen;n++)
17 for (i = 0; i < alphaSize;i++)
18 code[i] = vec;
20 void sendMTFValues (void) {
21 int v, t, i, j, gs, ge, totc, bt, bc, iter;
22 int nSelectors, alphaSize, minLen, maxLen, selCtr;
23 int nGroups, nBytes;
25 while (1)
27 break;
29 hbAssignCodes (&code[t][0], &len[t][0], minLen, maxLen, alphaSize);
30 unsigned char inUse16[16];
31 for (i = 0;i < 16;i++)
32 if (inUse16[i])
34 for (j = 0;j < 16;j++)
35 if (inUse[i * 16 + j]) { }
38 for (i = 0; i < nSelectors;i++) { }
39 for (t = 0; t < nGroups;t++)
41 int curr = len[t][0];
42 for (i = 0; i < alphaSize;i++)
43 while (curr < len[t][i]) { }
45 while (1)
46 for (i = gs; i <= ge;i++) { }