Fix static array size in gcc.dg/vect/vect-simd-20.c
10000 / 78 is strictly greater than 128 so we will actually do 128+1 strides in foo() for s == 78 and p[] needs to be dimensioned accordingly. 2021-12-20 Olivier Hainque <hainque@adacore.com> gcc/testsuite/ * gcc.dg/vect/vect-simd-20.c: Fix size of p[] to accommodate the number of strides performed by foo() for s == 78.
This commit is contained in:
parent
c9c466ea33
commit
7d5d5032c7
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ foo (int s, int m, int n, int *p)
|
|||
return r;
|
||||
}
|
||||
|
||||
int p[10000 / 78 * 7];
|
||||
int p[((10000 / 78) + 1) * 7];
|
||||
|
||||
int
|
||||
main ()
|
||||
|
|
Loading…
Add table
Reference in a new issue