https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65945
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- How did you configure your gcc? If it is configured for armv7 or above, gcc defaults to assuming unaligned accesses can be done. This is a faq.