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:47:40 -0400 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: 1.3.4 status? Message-ID: <20011022204740.B18754@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02a201c15b5b$7910a4d0$0200a8c0@lifelesswks> User-Agent: Mutt/1.3.21i On Tue, Oct 23, 2001 at 10:41:36AM +1000, Robert Collins wrote: >My 2c on this is that this could be a lot worse than a malloc issue... >even though it is occuring at process exit. 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. It's actually clobbering the EAX register almost immediately on entry into the function. AFAICT, EAX is the register that should hold the first argument. I knew that regparm was buggy with some gcc's. Apparently 2.95.3 is one of them. cgf