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]

ICE in 2.93.02


With egcs-2.93.02 19990117 on i586-pc-linux-gnu, I get

ilukt_WT_read_wait/usr/src/egcs.orig/gcc/function.c:3627: Internal compiler error in function instantiate_virtual_regs_1

for the source included below.

Regards,
Martin

typedef unsigned long int __fd_mask; 
typedef struct
  {
     
    __fd_mask __fds_bits[1024  / (8 * sizeof (__fd_mask)) ];
  } __fd_set;
 
typedef __fd_mask fd_mask;
typedef __fd_set fd_set;
 
void
ilukt_WT_read_wait(int fd, int auxfd, int * sure)
{
  fd_set          read_set, exn_set;
  int             stat, maxfd = fd;
  
  int __d0, __d1;	
  __asm__ __volatile__ 
    (
     "cld; rep; stosl"	: 
     "=m" (read_set.__fds_bits[1024/(8*sizeof(__fd_mask))]), 
     "=&c" (__d0), "=&D" (__d1)	: 
     "a" (0), "1" (sizeof (__fd_set)	/ sizeof (__fd_mask)),	
     "2" (& ((   &read_set   )->__fds_bits) [0])	: 
     "memory");	
  return;
}


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