This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: PR/39179 extern static member variables in C++ classes broken for windows targets


Hello Richard,

Could you take a look on PR/39179. i?86/x86_64 targets using COFF are
broken for C++ static class data members. I tried to fix
i386_pe_binds_local_p in /gcc/config/winnt.c by using
default_binds_local_p_1 instead of returning just true for none
dllimport/dllexport decls, but this seems to show just other problems
for UNSPEC_GOTPCREL.
As you implemented the method i386_pe_binds_local_p, maybe you have an
idea how this solve have to be solved.

Kai
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]