https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83536

            Bug ID: 83536
           Summary: One 'false' too much in r255699 for mingw target (in
                    config/i386/i386.c)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mateuszb at poczta dot onet.pl
  Target Milestone: ---

Copy from Jakub Jelinek [PATCH] Swap affects_type_identity and handler fields
in attribute_spec [r255699] config/i386/i386.c:
 #if TARGET_DLLIMPORT_DECL_ATTRIBUTES
-  { "dllimport", 0, 0, false, false, false, handle_dll_attribute, false, NULL
},
-  { "dllexport", 0, 0, false, false, false, handle_dll_attribute, false, NULL
},
-  { "shared",    0, 0, true,  false, false, ix86_handle_shared_attribute,
-    false, NULL },
+  { "dllimport", 0, 0, false, false, false, false, handle_dll_attribute,
+    NULL },
+  { "dllexport", 0, 0, false, false, false, false, handle_dll_attribute,
+    NULL },
+  { "shared",    0, 0, true,  false, false, false,
+    ix86_handle_shared_attribute, false, NULL },
 #endif

Please look at new "shared" -- 'false' is copied to front but not deleted from
old position. This breaks build for mingw target.

Reply via email to