Commit b2864199 by Sebastian Pop Committed by Sebastian Pop

Add testcase for PR46970.

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

	PR tree-optimization/46970
	* gcc.dg/graphite/pr46970.c: New.

From-SVN: r169257
parent 4a20f4fc
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46970
* gcc.dg/graphite/pr46970.c: New.
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/46215
* gcc.dg/graphite/pr46215.c: New.
......
/* { dg-do run } */
/* { dg-options "-Os -ftree-loop-linear" } */
#define N 16
int
main1 (int n, int *a)
{
int i, j;
for (i = 0; i < n; i++)
for (j = 0; j < n; j++)
a[j] = i + n;
for (j = 0; j < n; j++)
if (a[j] != i + n - 1)
__builtin_abort ();
return 0;
}
int
main ()
{
int a[N];
main1 (N, 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