This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 2.95.2 asm bug ?
- To: alanh at dcs dot kcl dot ac dot uk (Alan Hutchinson)
- Subject: Re: gcc 2.95.2 asm bug ?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 08 Aug 2000 22:06:21 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200008082146.WAA19678@calcium.dcs.kcl.ac.uk>
On Aug 8, 2000, alanh@dcs.kcl.ac.uk (Alan Hutchinson) wrote:
> ../sysdeps/generic/memmove.c:101: fixed or forbidden register 2 (cx) was spilled for class CREG.
> "=D" (dst_bp), "=S" (src_bp) : \
> "0" (dst_bp), "1" (src_bp), "c" (nbytes) : \
> "cx")
This is a bug in glibc, that's fixed in newer versions. It's not
valid to both clobber `cx' and use it as an input argument.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me