https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61320
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Thomas Preud'homme from comment #10) > So I am testing the patch right now and should be able to send it tomorrow. > However, the code already shall already mark the load with the actual > alignment the access is being done with. Therefore it seems to me that > something in the backend fails to split the unaligned load into several > aligned load. Could you break after the line align = get_object_alignment > (src); in tree-ssa-math-opts.c when compiling gcc/java/jcf-parse.c in stage > 1 (I suppose it breaks in stage 2)? > > What does print align gives? What about print load_type->type_common.align ? > > Best regards. The question is more like what happens in expand_assignment, that is, why don't we go the extract_bit_field codepath.