https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83635
mateuszb at poczta dot onet.pl changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mateuszb at poczta dot onet.pl --- Comment #1 from mateuszb at poczta dot onet.pl --- It is bug #83536, patch is quite simple: Index: gcc/config/i386/i386.c =================================================================== --- gcc/config/i386/i386.c (revision 256045) +++ gcc/config/i386/i386.c (working copy) @@ -44747,7 +44747,7 @@ { "dllexport", 0, 0, false, false, false, false, handle_dll_attribute, NULL }, { "shared", 0, 0, true, false, false, false, - ix86_handle_shared_attribute, false, NULL }, + ix86_handle_shared_attribute, NULL }, #endif { "ms_struct", 0, 0, false, false, false, false, ix86_handle_struct_attribute, NULL },