------- Comment #7 from rguenth at gcc dot gnu dot org 2006-04-20 20:47 ------- I suggest you test on an architecture that traps on unaligned accesses, so as ia64 with the correct prctrl setup. In particular you seem to miss that ARRAY_REF can have a custom index range that doesn't start with zero. Otherwise the patch looks reasonable, though you may wait on the backport of the bits from mainline for the 4.1 branch.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27226