1 /* { dg-do compile } */
3 extern char tag_data
[];
5 unsigned short tag_type
;
6 unsigned short tag_len
;
15 static int add_tag(int type
, int len
) {
17 struct pppoe_tag
*tag
= (struct pppoe_tag
*)add_tag_pack
;
18 if (e
+ len
|| len
< 0)
20 b
= __builtin_bswap16(type
);
22 a
= __builtin_bswap16(len
);
25 __builtin___memcpy_chk(tag_data
, add_tag_data
, len
, c
);
28 void pppoe_serv_read() {