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]

Bugreport


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
 
 

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