This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: -mpreferred-stack-boundary=2?
- To: Christopher Faylor <cygwin-developers at cygwin dot com>
- Subject: Re: -mpreferred-stack-boundary=2?
- From: egor duda <deo at logos-m dot ru>
- Date: Fri, 2 Nov 2001 23:28:16 +0300
- CC: cygwin-patches at cygwin dot com
- Organization: deo
- References: <20011102001706.A10347@redhat.com>
- Reply-To: egor duda <cygwin-patches at cygwin dot com>
Hi!
Friday, 02 November, 2001 Christopher Faylor cgf@redhat.com wrote:
CF> I just added the -mpreferred-stack-boundary=2 option to Makefile.common.
CF> Is there a good reason not to do this? From the description in
CF> gcc.info, it seems like the cases that they are talking about don't
CF> affect the cygwin part of things, although it would conceivably be iffy
CF> to use this switch in the newlib.
CF> The code size reduction is noticeable.
i have no problems with this. I'm getting a lot of "can't inline"
warnings with gcc-2.95.2 due to to-be-inlined function is defined
after it's called, however. gcc-3.0.2 doesn't have this problem but i
wonder if it's feasible to reorganize function order to accommodate
older compilers? patch attached.
btw, what do you think about -Werror ?
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
fix-inline-warnings.diff
fix-inline-warnings.ChangeLog