[RFA] enable finline-functions optimization

Christopher Faylor cgf@redhat.com
Wed Apr 16 03:06:00 GMT 2003

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?


>2003-04-15  Thomas Pfaff  <tpfaff@gmx.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.

More information about the Cygwin-patches mailing list