gcc/
commitaed4eb5dbf4e314cd58c8ab4aa7115029d5415e0
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 May 2009 14:57:15 +0000 (22 14:57 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 May 2009 14:57:15 +0000 (22 14:57 +0000)
tree82c98fa46c401882eeff8896e21978996bb0fc84
parent4d4913ed971aaf95bf2498cdacb5af7065861ec0
gcc/
* tree.c (handle_dll_attribute): Mark dllexport'd inlines as
non-external.

gcc/cp
* decl2.c (decl_needed_p): Consider dllexport'd functions needed.
* semantics.c (expand_or_defer_fn): Similarly.

gcc/testsuite/
* gcc.dg/dll-6.c: New test.
* gcc.dg/dll-6a.c: Likewise.
* gcc.dg/dll-7.c: Likewise.
* gcc.dg/dll-7a.c: Likewise.
* g++.dg/ext/dllexport2.C: Likewise.
* g++.dg/ext/dllexport2a.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147799 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/dllexport2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/dllexport2a.cc [new file with mode: 0644]
gcc/testsuite/gcc.dg/dll-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/dll-6a.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/dll-7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/dll-7a.c [new file with mode: 0644]
gcc/tree.c