http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45722
--- Comment #17 from dave at hiauly1 dot hia.nrc.ca 2010-10-11 21:17:27 UTC --- On Mon, 11 Oct 2010, danglin at gcc dot gnu.org wrote: > At -O0, the operation is handled as a COMPONENT_REF. At -O1, > we have a MEM_REF. The attached change probably can be improved to check whether or not the object is aligned for its mode, but it seems to fix the bug (second testcase). Doing full build and check. Dave