https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110237
--- Comment #7 from Hongtao.liu <crazylht at gmail dot com> --- > So it looks like a generic problem and better to be handled in > expand_partial_{load, store}_optab_fn? There're many other places with assumption MEM_SIZE is equal to MODE_SIZE even !MEM_SIZE_KNOWN_P, .i.e. ao_ref_base will rewrite size to MODE_SIZE.