Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr59350-2.c
blob2fea85fcf71951651bdcc96a7e00aba9f6721041
1 /* PR debug/59350 */
3 /* { dg-do compile } */
4 /* { dg-options "-O -g " } */
6 typedef struct
8 void *v;
9 int len;
10 int sign;
11 } ZVALUE;
13 extern int pred (ZVALUE);
15 static unsigned long
16 small_factor (ZVALUE z)
18 if (z.len > 0)
19 return 0;
21 return pred (z) ? -1 : 0;
24 unsigned long
25 zfactor (ZVALUE z)
27 z.sign = 0;
28 return small_factor (z);