This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 2.95.2 asm bug ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]