[Bug c++/87373] Packed structs are not handled properly on ARM architecture even with misaligned access is enabled

murat.ursavas at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 21 09:01:00 GMT 2018


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

--- Comment #2 from Murat Ursavaş <murat.ursavas at gmail dot com> ---
Hi Umesh,

Could you test it with the following options:

-g3 -gdwarf-2 -mcpu=cortex-m3 -mthumb -std=c++1y '-DDEBUG=1' -O0 -pedantic
-Wall -Wextra -c -fmessage-length=0 -fno-rtti -fno-exceptions -mno-sched-prolog
-fno-builtin -fpack-struct -fshort-enums -ffunction-sections -fdata-sections

Thanks in advance.


More information about the Gcc-bugs mailing list