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-20000306 ICE in `size_binop', at fold-const.c:1873


The following code, cut to size out of ISOFS in the current linux kernels,
ICEs on SPARC and i686 at least:

tst.c: In function `main':
tst.c:9: Internal compiler error in `size_binop', at fold-const.c:1873

struct {
   char a[5];
} *p;

int main ()
{
   int i = -1;
   
   if(p->a[-i])
     return 1;
}
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

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