[RFA] enable finline-functions optimization
Thomas Pfaff
tpfaff@gmx.net
Tue Apr 15 08:59:00 GMT 2003
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.
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: finline-functions.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20030415/382375f6/attachment.ksh>
More information about the Cygwin-patches
mailing list