Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr65521.c
blob97879e2e139c2d5ce001a10a3f21aa2736319b2d
1 /* PR ipa/65521 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fcompare-debug" } */
5 struct S { int s; };
6 int f6 (void *, unsigned long);
7 int f7 (int, int *, unsigned long);
8 int f8 (void);
9 int f9 (void (*) (void));
11 int
12 f1 (void *p)
14 return f6 (p, 256UL);
17 int
18 f2 (void *p)
20 return f6 (p, 256UL);
23 int
24 f3 (struct S *x)
26 return f7 (f8 (), &x->s, 16UL);
29 int
30 f4 (struct S *x)
32 return f7 (f8 (), &x->s, 16UL);
35 void
36 f5 (void)
38 f9 (f5);