Files
ftmemsim-valgrind/none/tests
Carl Love 1df0d33a8c Power PPC test case test_isa_2_07 steps out of array bounds.
The test none/tests/ppc64/test_isa_2_07.c steps beyond the data array in a
number of places. The issue is the array is declared to be of size N. The for
loop is: for (i=0; i<N; i=i+2). In the body of the loop the array elements
A[i] and A[i+1] are accessed. On the last iteration i=N-1 and the second array
access becomes A[N-1+1] which accesses one element past the declared array
size.

This commit fixes the array bounds by making the for loop read:  
  
   for (i=0; i<N-1; i=i+2)

The expected output files 

none/tests/ppc64/jm_int_isa_2_07.stdout.exp 
none/tests/ppc64/jm_vec_isa_2_07.stdout.exp

are updated with the new expected results.

Valgrind Bugzilla 359829


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15816
2016-02-26 17:38:47 +00:00
..
2015-09-05 08:40:43 +00:00
2004-01-03 14:24:42 +00:00
2004-02-15 16:12:35 +00:00
2004-02-15 16:12:35 +00:00
2004-02-15 16:12:35 +00:00
2009-08-04 02:32:55 +00:00
2009-08-04 02:32:55 +00:00
2009-08-12 00:14:44 +00:00
2004-01-06 21:46:02 +00:00
2004-01-06 21:46:02 +00:00
2004-01-06 21:46:02 +00:00
2012-07-05 21:21:37 +00:00
2006-10-17 01:28:48 +00:00
2004-01-03 14:24:42 +00:00
2012-11-18 00:36:15 +00:00
2005-03-15 01:41:08 +00:00
2006-10-17 01:28:48 +00:00