Commit eaf52b41 by Sebastian Pop Committed by Sebastian Pop

Add testcase for PR43567.

2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>

	PR tree-optimization/43567
	* gcc.dg/graphite/pr43567.c: New.

From-SVN: r169252
parent b305e3da
......@@ -69,6 +69,11 @@
PR tree-optimization/43567
* gcc.dg/graphite/pr43567.c: New.
2011-01-18 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/43567
* gcc.dg/graphite/pr43567.c: New.
2011-01-17 Sebastian Pop <sebastian.pop@amd.com>
* Makefile.in (LAMBDA_H): Removed.
......
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/43567
* gcc.dg/graphite/pr43567.c: New.
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
* gfortran.dg/graphite/interchange-4.f: New.
* gfortran.dg/graphite/interchange-5.f: New.
......
/* { dg-do run } */
/* { dg-options "-O2 -fno-inline -fno-tree-ch -ftree-loop-linear" } */
extern void abort ();
int
test (int n, int *a)
{
int i, j;
for (i = 0; i < n; i++)
for (j = 0; j < n; j++)
a[j] = i + n;
if (a[0] != 31 || i + n - 1 != 31)
abort ();
return 0;
}
int main (void)
{
int a[16];
test (16, a);
return 0;
}
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