[testsuite] fix loop index for gcc.dg/webizer.c

Janis Johnson janis_johnson@mentor.com
Tue Jan 15 21:55:00 GMT 2013


Execution of test gcc.dg/webizer.c fails with a segfault for
powerpc-eabi with the GNU simulator.  The test has an array of size 2
and accesses that array with indices of 1 and 2.  This patch fixes the
bounds of the loop index.

Tested on powerpc-none-eabi; OK for trunk?

Janis
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-20130115-2
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130115/0787802a/attachment.ksh>


More information about the Gcc-patches mailing list