https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79773
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- From GCC 6: '-mabi=NAME' Generate code for the specified calling convention. Permissible values are 'sysv' for the ABI used on GNU/Linux and other systems, and 'ms' for the Microsoft ABI. The default is to use the Microsoft ABI when targeting Microsoft Windows and the SysV ABI on all other systems. You can control this behavior for specific functions by using the function attributes 'ms_abi' and 'sysv_abi'. *Note Function Attributes::.