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

2013-01-15 Thread Jeff Law
On 01/15/2013 03:08 PM, Janis Johnson wrote: On 01/15/2013 02:01 PM, Jeff Law wrote: On 01/15/2013 02:57 PM, Janis Johnson wrote: 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 indic

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

2013-01-15 Thread Janis Johnson
On 01/15/2013 02:01 PM, Jeff Law wrote: > On 01/15/2013 02:57 PM, Janis Johnson wrote: >> 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 >

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

2013-01-15 Thread Jeff Law
On 01/15/2013 02:57 PM, Janis Johnson wrote: 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-