i386: Support cstorebf4 with native bf16 comi
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr34448.c
blob625f6f8cc5543a2aa654b4a026829e3802b6bf3f
1 typedef struct chunk_t chunk_t;
2 struct chunk_t
4 unsigned char *ptr;
5 long unsigned int len;
6 };
7 extern chunk_t asn1_wrap (chunk_t c, ...);
8 typedef struct linked_list_t linked_list_t;
9 chunk_t ietfAttr_list_encode (linked_list_t * list);
10 extern linked_list_t *groups;
11 static unsigned char ASN1_group_oid_str[] = {
12 0x06
14 static const chunk_t ASN1_group_oid = {
15 ASN1_group_oid_str, sizeof (ASN1_group_oid_str)
17 static chunk_t
18 build_attribute_type (const chunk_t type, chunk_t content)
20 return type;
22 static chunk_t
23 build_attributes (void)
25 return asn1_wrap (build_attribute_type (ASN1_group_oid,
26 ietfAttr_list_encode (groups)));
28 void build_attr_cert (void)
30 asn1_wrap (build_attributes ());