public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix mingw bootstrap (PR target/83536)
@ 2017-12-31 13:30 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2017-12-31 13:30 UTC (permalink / raw)
  To: gcc-patches

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.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-31 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-31 13:30 [committed] Fix mingw bootstrap (PR target/83536) Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).