Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 3 Jun 2002 23:00:43 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygwin gcc bug: stack-arg-probe (alloca) logic clobbers regparm Message-ID: <20020604030043.GA23446@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <000901c20b71$1aa5f910$0100a8c0 AT asswipe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901c20b71$1aa5f910$0100a8c0@asswipe> User-Agent: Mutt/1.3.23.1i On Mon, Jun 03, 2002 at 07:39:52PM -0700, Fish wrote: >Whenever I define a function with the regparm(n) attribute it appears >gcc prologue code sometimes clobbers one of my parameter registers >producing incorrect results. Yep. It's a known bug in gcc 2.95.3, I believe. It may be fixed in gcc 3.1 (which should be released in a week or two) but I don't know for sure. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/