Commit 6d446ecf by Richard Guenther Committed by Richard Biener

scop-1.c: Fix out-of-bound array accesses.

2010-08-27  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/graphite/scop-1.c: Fix out-of-bound array accesses.
	* gcc.dg/graphite/scop-2.c: Likewise.
	* gcc.dg/graphite/scop-20.c: Likewise.
	* gcc.dg/vect/slp-25.c: Likewise.

From-SVN: r163583
parent d32f725a
2010-08-27 Richard Guenther <rguenther@suse.de>
* gcc.dg/graphite/scop-1.c: Fix out-of-bound array accesses.
* gcc.dg/graphite/scop-2.c: Likewise.
* gcc.dg/graphite/scop-20.c: Likewise.
* gcc.dg/vect/slp-25.c: Likewise.
2010-08-27 Olivier Hainque <hainque@adacore.com>
* gnat.dg/dse_step.ads, dse_step.adb, test_dse_step.adb: New test.
......
......@@ -3,7 +3,7 @@ void bar (void);
int toto()
{
int i, j, k;
int a[100][100];
int a[101][100];
int b[100];
for (i = 1; i < 100; i++)
......
......@@ -3,7 +3,7 @@ void bar (void);
int toto()
{
int i, j, k;
int a[100][100];
int a[101][100];
int b[100];
for (i = 1; i < 100; i++)
......
......@@ -3,7 +3,7 @@ void bar (void);
int toto()
{
int i, j, k;
int a[100][100];
int a[101][100];
int b[100];
for (i = 1; i < 100; i++)
......
......@@ -7,8 +7,8 @@
/* Unaligned stores. */
int ia[N+1];
short sa[N+1];
int ia[N+2];
short sa[N+2];
int main1 (int n)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment