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]

Re: egcs-20000306 ICE in `size_binop', at fold-const.c:1873



  In message <200003121601.e2CG17b18610@sleipnir.valparaiso.cl>you write:
  > 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;
  > }
Thanks.  I went ahead and added this to the testsuite.e
jeff


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