Fixed or forbidden register was spilled
Jeffrey A Law
law@cygnus.com
Wed Nov 25 12:02:00 GMT 1998
In message <Pine.A32.3.95.981125160322.17794A-100000@ltoi.iap.physik.tu-darms
tadt.de>you write:
> Egcs-2.92.23 does not compile the following file t.c extracted from
> gdb-981121/texinfo/info/echo-area.c on i586-pc-linux-gnulibc1. The
> compilation stops with t.c:12: Invalid `asm' statement: t.c:12: fixed
> or forbidden register 2 (cx) was spilled for class CREG.
> Appended is the source code and the preprocessed file t.i.
The asm in the definition of FD_ZERO is bogus. It has an explit clobber
which overlaps an input or output register.
jeff
More information about the Gcc-bugs
mailing list