delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/03/23:01:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf-cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019