[Bug target/67223] Address misaligned for ldrexd

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Aug 15 10:14:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67223

--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
You didn't provide a self-contained test case.  After extracting stats_record
and the stats declaration from the source to linked to and providing my own
stats_alloc (I'm not using your zcalloc), I cannot reproduce the SIGBUS. 
(Tried it on a Cortex-A9 system.)

The alignment of a stats struct is 8.  Verify that your allocator returns
correctly aligned objects.  And do provide a self-contained test case -- one
that compiles, runs, and provokes the crash.



More information about the Gcc-bugs mailing list