cygwin gcc bug: stack-arg-probe (alloca) logic clobbers regparm

Christopher Faylor cgf-cygwin@cygwin.com
Mon Jun 3 20:00:00 GMT 2002


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/



More information about the Cygwin mailing list