PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20061031-1.c
blob3db0a97f20d8b06a01dc4e29a9157245807e2fd9
1 /* PR rtl-optimization/29631 */
2 /* Origin: Falk Hueffner <falk@debian.org> */
4 const signed char nunmap[] = { 17, -1, 1 };
6 __attribute__((noinline))
7 void ff(int i) {
8 asm volatile("");
11 __attribute__((noinline))
12 void f(short delta)
14 short p0 = 2, s;
15 for (s = 0; s < 2; s++)
17 p0 += delta;
18 ff(s);
19 if (nunmap[p0] == 17)
20 asm volatile("");
24 int main(void)
26 f(-1);
27 return 0;