[PATCH] enable -finline-functions optimization

Thomas Pfaff tpfaff@gmx.net
Mon Apr 14 14:31:00 GMT 2003

Christopher Faylor wrote:
> On Mon, Apr 14, 2003 at 10:19:33AM +0200, Thomas Pfaff wrote:
>>According to
>>__attribute__((used)) should do the trick, but it doesn't seem to work.
> Look at exceptions.cc: unused_sig_wrapper.

Look at my patch: unused_sig_wrapper is removed when the code is 
compiled with -finline-functions.

I tried
static void unused_sig_wrapper () __attribute__((const, used, noinline));

and __attribute__((used)) should prevent the removal, but it didn't.


More information about the Cygwin-patches mailing list