This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [Patch] PR java/29805, Write past end of array in java/typeck.c
- From: Andrew Haley <aph at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Sun, 12 Nov 2006 16:47:52 +0000
- Subject: Re: [Patch] PR java/29805, Write past end of array in java/typeck.c
- References: <4556B0C4.9070400@avtrex.com>
David Daney writes:
> Under some circumstances we are writing past the end of an array in
> java/typeck.c. On some targets (mipsel-linux-gnu) this causes the
> compiler to ICE when compiling the newarray_overflow.java test from the
> libjava testsuite.
>
> Bootstrapped and regression tested on i686-pc-linux-gnu (trunk) and
> mipsel-unknown-linux-gnu (4.2 branch) with no failures.
>
> This gets me to zero FAILs for the libjava testsuite on
> mipsel-linux-gnu. Yeah!
>
> Since this is a regression from 3.4, OK for both 4.2 and the trunk?
>
> 2006-11-11 David Daney <ddaney@avtrex.com>
>
> PR java/29805
> * typeck.c (build_java_array_type): Increase buffer sizes.
Ouch. Yes.
Andrew.