This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: 1.3.4 status?
On Mon, Oct 22, 2001 at 08:52:36PM -0400, Jonathan Kamens wrote:
>> Date: Mon, 22 Oct 2001 20:47:40 -0400
>> From: Christopher Faylor <cgf@redhat.com>
>>
>> It's not a malloc issue. gcc's -O3 optimization is screwing up regparm
>> parameter passing, specifically in fhandler_console::read which seems to
>> need to call alloca for some reason, although I can't say exactly why.
>
>Now here's someone with slightly more knowledge of x86 assembler code
>than I have :-).
>
>Seriously, I assume this means that I should (a) stop trying to track
>down this bug since you've figured it out, and (b) stop trying to
>compile Cygwin with -O3.
I'd say tentatively yes to the former and definitely yes to the latter.
If you can figure out how to rearrange the code in fhandler_console::read
to avoid the problem, though, that would be useful.
cgf