This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95pre: Virtual array reg_single_usage element 184 out of bounds, at ../../../egcsm/gcc/loop.c:6902
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: gcc-2.95pre: Virtual array reg_single_usage element 184 out of bounds, at ../../../egcsm/gcc/loop.c:6902
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Sun, 23 May 1999 20:22:10 -0600
- cc: egcs-bugs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <99052321050000.00670@ns1102.munich.netsurf.de>you write:
>
> --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
> Content-Type: text/plain
> Content-Transfer-Encoding: 8bit
>
> Am Sat, 22 May 1999 schrieb Franz Sirl:
> >Hi,
> >
> >gcc-2.95pre on powerpc-linux-gnu produces this error message:
> >
> >decode.c:42: Virtual array reg_single_usage element 184 out of bounds, at
> ../../../egcsm/gcc/loop.c:6902
>
> This seems to be a simple oversight, in strength_reduce() one VARRAY_GROW w
> as
> missing.
>
> The attached patch fixes this.
>
> Franz.
>
> * loop.c (strength_reduce): grow the reg_single_usage varray too
Yup. Looks identical to the one I'll be checking in shortly.
jeff