https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Which means punt on this optimization for WORD_REGISTER_OPERATIONS if the > outer mode is word_mode, except when sub is a MEM and load_extend_op > (inner_mode) == ZERO_EXTEND? Yes, this sounds like a sensible approach.