------- Comment #2 from hjl dot tools at gmail dot com 2009-04-28 21:59 ------- (In reply to comment #1) > I think this testcase is invalid really: > memcpy(&outdata->tv, tp, sizeof outdata->tv); > > tv is packed and taking the address of a packed entry is not really a valid > thing. >
I don't believe memcpy has any alignment requirements. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39954