http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57909

--- Comment #1 from Yvan Roux <yvan.roux at linaro dot org> ---
The issue is that an UNSPEC_UNALIGNED_LOAD insn is emitted whereas the flag
-mno-unaligned-access is passed, which implies that this insn is not
recognized.

The generation of the unaligned load is made in the gen_movmem_ldrd_strd
function introduced at rev198970, there is a test that prevent doing calls to
gen_unaligned_loadhiu when unaligned access are not authorized and src and dst
are unaligned, but if they are aligned the call is made. The attached patch
fixes the issue, but is still under validation.

Reply via email to