http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377
--- Comment #44 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-03 11:24:27 UTC --- Created attachment 24423 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24423 gcc46-pr48377.patch I don't see why mode should be relevant, the MEM_REF should have from the type clear indication that it is unaligned load (or store) and just should lead to the bit-fieldish expansion. Anyway, here is a testsuite patch for now, works on x86_64, not tested other targets.