https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95418
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> --- Created attachment 48649 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48649&action=edit Untested patch. Can someone with an access to MinGW target please test the attached patch? The layout is defined by the hardware, and gcc_struct reflects this layout. BTW: I also doubt defining _FP_STRUCT_LAYOUT in sfp-machine.h has any effect, we have to use __attribute__ ((gcc_struct)) directly on the structure definition.