https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71740
--- Comment #1 from lh_mouse <lh_mouse at 126 dot com> --- Explicitly specifying __cdecl or __attribute__((__cdecl__)) causes an ICE. Specifying __stdcall or __fastcall, or not specifying one, does not produce an ICE.