This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-20000306 ICE in `size_binop', at fold-const.c:1873
- To: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Subject: Re: egcs-20000306 ICE in `size_binop', at fold-const.c:1873
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 14 Mar 2000 09:00:28 -0700
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
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