Bugreport
Benno Tietz
benno.tietz@arcormail.de
Sun Jan 31 11:40:00 GMT 1999
Hi,
here is my bugreport. gcc-2.7.2.1
compiles the files without any problems.
Benno Tietz
ÃÂ
BYW: Thnx for producing such a good
compiler.
ÃÂ
ÃÂ
Compiler version:
ÃÂ
batty:/home/benno/hyatt/16.3 # gcc
-v Reading specs from
/usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.93.04/specs
ÃÂ
gcc version egcs-2.93.04 19990131
(gcc2 ss-980929 experimental)
ÃÂ
File producing
trouble:
ÃÂ
========= ut.i
============= typedef struct { ÃÂ unsigned long fds_bits [(1024 / (8 *
sizeof(unsigned long)) ) ]; } __kernel_fd_set;
ÃÂ
int CheckInput(void) { ÃÂ
__kernel_fd_set readfds;
ÃÂ
ÃÂ __asm__ __volatile__("cld
; rep ; stosl" :"=m" (*(__kernel_fd_set *) (ÃÂ
&readfdsÃÂ )) :"a" (0), "c" ((1024 / (8 *
sizeof(unsigned long)) ) ), "D" ((__kernel_fd_set *) (ÃÂ
&readfdsÃÂ )) :"cx","di")ÃÂ
; } ============================
ÃÂ
Command-line option:
ÃÂ
batty:/home/benno/hyatt/16.3 #
gccÃÂ -O2 -c ut.i ut.i: In function `CheckInput': ut.i:8: Invalid
`asm' statement: ut.i:8: fixed or forbidden register 2 (cx) was spilled for
class CREG.
ÃÂ
Machine-type:
ÃÂ
AMD K6-2 running Linux
2.0.35
ÃÂ
Compiler building:
ÃÂ
./configure
--enable-haifa
ÃÂ
ÃÂ
More information about the Gcc-bugs
mailing list