Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr83581.c
blobc145effb88a5a416d3fc5b2ce2ecbb959161f47a
1 /* PR tree-optimization/83581 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -fno-tree-copy-prop -fno-tree-loop-im" } */
5 int a, b, c;
7 int
8 foo (int x)
10 int *d = &x;
11 while (a < 1)
13 for (b = 0; b < 2; ++b)
15 *d += !!x + 1;
16 d = &c;
18 ++a;
20 return *d;