This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: dllexport and inline
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 28 May 2009 16:00:48 +0100
- Subject: Re: dllexport and inline
- References: <4A16BDCC.5030809@codesourcery.com>
Nathan Sidwell wrote:
> I've committed this patch from Mark, after porting it from our stable
> 4.3 branch. the issue here is that functions marked dllexport must be
> emitted, even if they are (also) inline.
>
> tested on i686-mingw32
>
> nathan
Looks like this caused the problem being discussed at:
http://gcc.gnu.org/ml/gcc-patches/2009-05/threads.html#01793
Could you and/or Mark cast a quick glance over the proposed solution in
http://gcc.gnu.org/ml/gcc-patches/2009-05/msg01796.html
when you have a moment and tell us if it's the right thing to do? I think
it's fairly obvious.
cheers,
DaveK