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

2006-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-03-06 12:17 --- Works with 3.3.3, 3.4.2, fails with 4.1.0 and 4.2.0 (didn't check 4.0.x, but I guess it's another tree-ssa fallout) -- rguenth at gcc dot gnu dot org changed: What|Removed

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

2006-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-03-06 12:23 --- It also affects ia64 and s390(x) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2006-03-06 Thread rguenth at gcc dot gnu dot org
--- 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