mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 16:00:55 +08:00
scop-0.c: Fix out-of-bound array accesses.
2010-08-26 Richard Guenther <rguenther@suse.de> * gcc.dg/graphite/scop-0.c: Fix out-of-bound array accesses. * gcc.dg/graphite/scop-21.c: Likewise. From-SVN: r163564
This commit is contained in:
parent
880f987ea7
commit
5423ab77ff
@ -1,3 +1,8 @@
|
||||
2010-08-26 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* gcc.dg/graphite/scop-0.c: Fix out-of-bound array accesses.
|
||||
* gcc.dg/graphite/scop-21.c: Likewise.
|
||||
|
||||
2010-08-26 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* gcc.dg/vect/vect-64.c: Fix out-of-bound array accesses.
|
||||
|
@ -5,7 +5,7 @@ int toto()
|
||||
{
|
||||
/* Scop 1. */
|
||||
int i, j, k;
|
||||
int a[100][100];
|
||||
int a[201][100];
|
||||
int b[100];
|
||||
int N = foo ();
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
void foo (int);
|
||||
int test ()
|
||||
{
|
||||
int a[N];
|
||||
int a[N+6];
|
||||
unsigned i;
|
||||
|
||||
for (i = 0; i < N; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user