Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr103860.c
blob15eee558083dfe9b3f781be4592d5419f3f2f99f
1 /* PR rtl-optimization/103860 */
2 /* { dg-do run } */
3 /* { dg-options "-O3" } */
4 /* { dg-additional-options "-fPIC" { target fpic } } */
6 static int d, *e;
7 int f;
9 __attribute__((noinline)) signed char
10 foo (signed char b, signed char c)
12 return b + c;
15 int
16 main ()
18 signed char l;
19 for (l = -1; l; l = foo (l, 1))
21 while (d < 0)
23 if (d > 0)
25 f = 0;
26 *e = 0;
29 d = 0;
30 return 0;