Hi!

These attributes are guarded by preprocessor conditionals and so
my error in the recent patch swapping handler and the bool flag went
unnoticed.

Fixed thusly, tested by building cross to mingw32, committed as obvious.
Sorry for the inconvenience.

2017-12-31  Jakub Jelinek  <ja...@redhat.com>

        PR target/83536
        * config/i386/i386.c (ix86_attribute_table): Remove excess
        initializer for "shared" attribute.

--- gcc/config/i386/i386.c.jj   2017-12-31 14:22:15.700946330 +0100
+++ gcc/config/i386/i386.c      2017-12-31 14:22:07.046941201 +0100
@@ -44747,7 +44747,7 @@ static const struct attribute_spec ix86_
   { "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 },

        Jakub

Reply via email to