[Bug translation/90061] ARM cortex-M hard fault on 64 bit sized object store to unaligned address
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 12 14:07:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90061
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2019-04-12
CC| |amonakov at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Please provide an example, as a simple smoke-test is compiled correctly:
long f(struct hardwareExample *h)
{
return h->a + h->b;
}
produces
f:
ldr r2, [r0, #1] @ unaligned
ldr r0, [r0, #5] @ unaligned
add r0, r0, r2
bx lr
More information about the Gcc-bugs
mailing list