Possible problem with register spilling enhancements in latest egcs
Nicholas Vinen
hb@fl.net.au
Mon Nov 9 09:54:00 GMT 1998
Hi, I'm trying to compile xemacs (20.4) with the latest egcs and get
these errors:
/usr/src/xemacs-20.4/lib-src/gnuserv.c: In function `timed_read':
/usr/src/xemacs-20.4/lib-src/gnuserv.c:407: Invalid `asm' statement:
/usr/src/xemacs-20.4/lib-src/gnuserv.c:407: fixed or forbidden register 2
(cx) was spilled for class CREG.
/usr/src/xemacs-20.4/lib-src/gnuserv.c: In function `main':
/usr/src/xemacs-20.4/lib-src/gnuserv.c:880: Invalid `asm' statement:
/usr/src/xemacs-20.4/lib-src/gnuserv.c:880: fixed or forbidden register 2
(cx) was spilled for class CREG.
These both seem to be on "FD_ZERO()" lines which have an assembly macro to
rep stosl(d) zeroes over the structure.
Nicholas Vinen
More information about the Gcc-bugs
mailing list