1 /* This caused an ICE on s390 due to incorrect secondary
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -fprofile-generate" } */
8 test(char *ret
, int *counter
, void *schema
,
9 const char* name
, const char *namespace,
10 void *node
, int topLevel
)
15 if (counter
== 0) return 0;
16 if (schema
== 0) return 0;
17 if (name
== 0) return 0;
19 __builtin_memset (ret
, 0, 100);
20 lookup (schema
, name
, -1);
21 val
= hash (schema
, name
, namespace, name
, ret
);
22 if (val
== 0) return ret
;
26 error (1, 0, 0, node
, "%s", name
);
30 __snprintf_chk (buf
, 29, 1, 30, "#eCont %d", ++*counter
);
31 val
= hash (schema
, name
, buf
, namespace, ret
);
32 if (val
== 0) return ret
;
34 error (1, 0, 0, node
, "%s", name
);
38 /* { dg-final { cleanup-coverage-files } } */