[Bug target/91306] [MSP430] libgcc/crtstuff.c: Alignment of frame_dummy .init_array entry is too big
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 1 14:54:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91306
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also the patch is still needed. Try with one than one entry and you will see
the issue. The patch is not to workaround a GCC bug but rather enforce a
smaller alignment than what GCC decides to use.
>but the expected alignment of a pointer is 2 bytes.
If that is true, then maybe alignof should be used instead of sizeof.
Can you try alignof (__alignof__)?
More information about the Gcc-bugs
mailing list