https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398
--- Comment #33 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> --- It would be relatively easy if the target supports unaligned access. like read64ne in https://git.tukaani.org/?p=xz.git;a=blob;f=src/liblzma/common/memcmplen.h Then the alignment issue is relaxed. It may be safer if we can prove/assume the underlying buffer is enough, like array accessing or pointer+index accessing in a loop.