1 /* { dg-do compile } */
2 /* { dg-options "-O2 -w" } */
3 typedef unsigned int hashval_t
;
6 ETYPE_ARRAY
, ETYPE_STRUCT
, ETYPE_UNION
,
14 hashval_t
iterative_hash (const struct entry
*, __SIZE_TYPE__
, hashval_t
);
16 e_hash (const void *a
)
18 const struct entry
*e
= a
;
21 if (e
[0].etype
!= ETYPE_STRUCT
&& e
[0].etype
!= ETYPE_UNION
)
23 for (i
= 0; i
<= e
[0].len
; ++i
)
25 ret
= iterative_hash (&e
[i
], __builtin_offsetof (struct entry
, attrib
), ret
);