This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix mingw bootstrap (PR target/83536)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 31 Dec 2017 14:30:12 +0100
- Subject: [committed] Fix mingw bootstrap (PR target/83536)
- Authentication-results: sourceware.org; auth=none
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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