https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643
--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Evgeny Karpov from comment #7) > Thanks for pointing that out! The fix will be included in the patch that > fixes the regression. While there, can you perhaps rename: PE_COFF_EXTERN_DECL_SHOULD_BE_LEGITIMIZED to PE_COFF_LEGITIMIZE_EXTERN_DECL ?