2 /* m32c is already packed. */
3 /* { dg-skip-if "" { "m32c-*-*" } { "*" } { "" } } */
5 void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
14 struct timeval tv __attribute__((packed)); /* { dg-warning "attribute ignored" "" { target default_packed } } */
17 void send_probe(struct outdata *outdata, struct timeval *tp) __attribute__((noinline));
18 void send_probe(struct outdata *outdata, struct timeval *tp)
20 memcpy(&outdata->tv, tp, sizeof outdata->tv);
24 struct outdata outdata;
28 send_probe(&outdata, &t);