[Patch] PR java/29805, Write past end of array in java/typeck.c
David Daney
ddaney@avtrex.com
Sun Nov 12 05:32:00 GMT 2006
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: java-typeck.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061112/cabb565b/attachment.txt>
More information about the Gcc-patches
mailing list