* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20140213.c
blob3811caa223460d581af1ee24a0daacb02934d322
1 static unsigned short
2 foo (unsigned char *x, int y)
4 unsigned short r = 0;
5 int i;
6 for (i = 0; i < y; i++)
7 r += x[i];
8 return r;
11 int baz (int, unsigned short);
13 void
14 bar (unsigned char *x, unsigned char *y)
16 int i;
17 unsigned short key = foo (x, 0x10000);
18 baz (0, 0);
19 for (i = 0; i < 0x80000; i++)
20 y[i] = x[baz (i, key)];