[Bug middle-end/26565] [4.1/4.2 Regression] Unaligned accesses with __attribute__(packed) and memcpy

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 6 12:49:00 GMT 2006



------- Comment #7 from rguenth at gcc dot gnu dot org  2006-03-06 12:49 -------
A workaround is to do

  memcpy ((char*)outdata + 1, ...);


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26565



More information about the Gcc-bugs mailing list