This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]