This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs bug(?) in FD_ZERO
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: egcs bug(?) in FD_ZERO
- From: Ocker Kerpershoek <ocker at linuxstart dot com>
- Date: 4 Jun 1999 14:37:30 -0000
When compiling a program that uses FD_ZERO, i get the following
error message from egcs :
main.c:7: Invalid `asm' statement:
main.c:7: fixed or forbidden register 2 (cx) was spilled for class CREG.
The "program" i used to demonstrate this is :
// ---start---
#include <sys/types.h>
#include <unistd.h>
int main(char* argv[],int argc) {
fd_set f;
FD_ZERO( &f );
}
// ---end---
I guess this should compile fine...
system info :
egcs : 2.95 19990602
OS : linux 2.2.7 (rh5.1) glibc 2.0.7
------
Do you do Linux? :)
Get your FREE @linuxstart.com email address at: http://www.linuxstart.com