1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-options "-O3 -ftree-loop-linear" } */
3 
4 unsigned char inUse[256];
5 unsigned char len[6][258];
6 int code[6][258];
7 unsigned int crc32Table[256] = { };
getGlobalCRC(void)8   unsigned int getGlobalCRC (void) { }
9   int bsLive;
bsW(int n,unsigned int v)10 void bsW (int n, unsigned int v) {
11  while (bsLive >= 8) {}
12  }
hbAssignCodes(int * code,unsigned char * length,int minLen,int maxLen,int alphaSize)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;
19    }
sendMTFValues(void)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;
24  {
25     while (1)
26   {
27   break;
28   }
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])
33   {
34       for (j = 0;j < 16;j++)
35    if (inUse[i * 16 + j])    { }
36     }
37    }
38    for (i = 0; i < nSelectors;i++)     { }
39    for (t = 0; t < nGroups;t++)
40  {
41        int curr = len[t][0];
42        for (i = 0; i < alphaSize;i++)
43           while (curr < len[t][i])     { }
44      }
45    while (1)
46        for (i = gs; i <= ge;i++)  { }
47  }
48 
49