This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [RFA] enable finline-functions optimization
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 15 Apr 2003 23:06:35 -0400
- Subject: Re: [RFA] enable finline-functions optimization
- References: <Pine.WNT.4.44.0304151046400.259-200000@algeria.intern.net>
- Reply-to: cygwin-patches at cygwin dot com
On Tue, Apr 15, 2003 at 10:59:13AM +0200, Thomas Pfaff wrote:
>
>It seems that __attribute__(used) does not work in conjunction with
>__asm__ ("function name without _"). If i remove the __asm__ stuff it
>works as expected.
>This patch will keep the functions static.
Ok. Feel free to checkin, in that case. Out of curiousity, what version
of gcc are you using? 3.2?
cgf
>2003-04-15 Thomas Pfaff <tpfaff at gmx dot net>
>
> * Makefile.in: Add finline-functions optimization to CXXFLAGS.
> * autoload.cc (LoadDLLprime): Rename std_dll_init to
> _std_dll_init.
> (std_dll_init): Remove name mangling prototype. Add attributes
> used and noinline.
> (wsock_init): Ditto.
> Change wsock_init to _wsock_init in wsock32 and ws2_32
> LoadDLLprime.
> * exceptions.cc (unused_sig_wrapper): Remove prototype. Add
> attributes used and noinline.
> * pwdgrp.h ((pwdgrp (passwd *&)): Remove inline code.
> (pwdgrp (__group32 *&)): Ditto.
> * grp.cc (pwdgrp (passwd *&)): Outline constructor.
> (pwdgrp (__group32 *&)): Ditto.