URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr36154.c] - Rev 516
Compare with Previous | Blame | View Log
struct eth_test_pkt { unsigned short len; unsigned short ctr; unsigned char packet[]; } __attribute__ ((packed)); struct eth_test_pkt pkt_unaligned = { .packet = { 0xFC } }; int cmd_unaligned(const void *p) { return memcmp(p, pkt_unaligned.packet, 1); }