1 /* { dg-do compile } */
2 
stpi_unpack_16_1(int length,unsigned char * out,unsigned char bit)3 void stpi_unpack_16_1(int length, unsigned char *out, unsigned char bit)
4 {
5   unsigned char tempin;
6   unsigned char temp[16];
7   for (bit = 128; length > 0; length--) {
8     if (tempin & 128)
9       temp[0] |= bit;
10     else
11       {
12         *out++ = temp[1];
13         *out++ = temp[2];
14         *out++ = temp[3];
15         *out++ = temp[4];
16         *out++ = temp[5];
17         *out++ = temp[6];
18         *out++ = temp[7];
19         *out++ = temp[9];
20         *out++ = temp[10];
21         *out++ = temp[11];
22         *out++ = temp[12];
23         *out++ = temp[13];
24         *out++ = temp[14];
25         *out++ = temp[15];
26         __builtin_memset (temp, 0, 16);
27      }
28   }
29 }
30 
31