diff mbox series

[committed] Fix mingw bootstrap (PR target/83536)

Message ID 20171231133012.GR1833@tucnak
State New
Headers show
Series [committed] Fix mingw bootstrap (PR target/83536) | expand

Commit Message

Jakub Jelinek Dec. 31, 2017, 1:30 p.m. UTC
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  <jakub@redhat.com>

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


	Jakub
diff mbox series

Patch

--- 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 },