This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: PR/39179 extern static member variables in C++ classes broken for windows targets
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: Richard Henderson <rth at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 14 Feb 2009 23:43:36 +0100
- Subject: 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