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]

egcs bug(?) in FD_ZERO


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


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