This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] enable finline-functions optimization


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]