OSDN Git Service

PR target/41512
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Oct 2009 02:57:21 +0000 (02:57 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Oct 2009 02:57:21 +0000 (02:57 +0000)
commitf787a6a3f6d7367e3234be1eba7f5b5addf351fd
tree63f4df3174db5442106145ab1bfe4b9b8f7528c5
parent8f9ba93c8933bf18df828f11d7db3bcce7484c8a
PR target/41512
* config/i386/winnt.c (i386_pe_determine_dllexport_p): Don't propagate
dllexport to class members here.
(i386_pe_determine_dllimport_p): Only check static class data for
definition.
(i386_pe_encode_section_info): Don't recheck DECL_DLLIMPORT_P.
* config/i386/winnt-cxx.c (i386_pe_type_dllimport_p): Only check
functions for vague linkage.
(i386_pe_type_dllexport_p): Fix formatting.
(maybe_add_dllexport) New function.
(i386_pe_adjust_class_at_definition): Use it to propagate dllexport
to class members.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152511 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/winnt-cxx.c
gcc/config/i386/winnt.c