[Bug libfortran/95418] [11 Regression] Static assert going off on MinGW

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun May 31 20:06:44 GMT 2020


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.


More information about the Gcc-bugs mailing list