This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cygwin gcc bug: stack-arg-probe (alloca) logic clobbers regparm
- From: Christopher Faylor <cgf-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 3 Jun 2002 23:00:43 -0400
- Subject: Re: cygwin gcc bug: stack-arg-probe (alloca) logic clobbers regparm
- References: <000901c20b71$1aa5f910$0100a8c0@asswipe>
- Reply-to: cygwin at cygwin dot com
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/