Internal Compiler Error

Jeffrey A Law law@hurl.cygnus.com
Sun Feb 28 23:30:00 GMT 1999


  In message < 36B7C279.6E32AA28@dial.pipex.com >you write:
  > Source:
  > typedef unsigned long int __fd_mask;
  >  
  > typedef struct
  >   {
  >     __fd_mask __fds_bits[1024  / (8 * sizeof (__fd_mask)) ];
  >   } __fd_set;
  > 
  > typedef struct _IO_FILE FILE;
  > 
  > extern FILE *stdin;              
  > 
  > typedef __fd_set fd_set;
  > 
  > int vga_getkey(void)
  > {
  >     fd_set fds;
  >     int fd = fileno(stdin);
  >     char c;
  > 
  >     do {        int __d0, __d1; __asm__ __volatile__ ("cld; rep; stosl"
  > : "=m" (((   &fds   )->__fds_bits) [(( 1024  ) / (8 * sizeof
  > (__fd_mask)) ) ]), "=c" (__d0), "=D" (__d1)        : "a" (0), "1"
  > (sizeof (__fd_set)       / sizeof (__fd_mask)),  "2" (& ((   &fds  
  > )->__fds_bits) [0])  : "memory");    } while (0)  ;
  > 
  >     return 0;
  > }
  > 
  > Response:
  > /usr2/src/egcs-19990131/gcc/function.c:3657: Internal compiler error in
  > function instantiate_virtual_regs_1
  > Please submit a full bug report to `egcs-bugs@cygnus.com'.
  > See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
Thanks.  I believe this bug has been fixed.

jeff



More information about the Gcc-bugs mailing list