Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Mon, 22 Oct 2001 20:58:28 -0400 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: 1.3.4 status? Message-ID: <20011022205828.C18754@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <3BD4635D DOT 1060208 AT ece DOT gatech DOT edu> <20011022142729 DOT A10309 AT redhat DOT com> <20011022192430 DOT 3581 DOT qmail AT lizard DOT curl DOT com> <20011022193036 DOT 3609 DOT qmail AT lizard DOT curl DOT com> <20011022203136 DOT 5144 DOT qmail AT lizard DOT curl DOT com> <20011022203747 DOT 5162 DOT qmail AT lizard DOT curl DOT com> <02a201c15b5b$7910a4d0$0200a8c0 AT lifelesswks> <20011022204740 DOT B18754 AT redhat DOT com> <20011023005236 DOT 7136 DOT qmail AT lizard DOT curl DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011023005236.7136.qmail@lizard.curl.com> User-Agent: Mutt/1.3.21i 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 >> >> 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