Commit 9b196c93 by Sebastian Pop Committed by Sebastian Pop

interchange-7.c: Un-XFAILed.

2009-10-16  Sebastian Pop  <sebastian.pop@amd.com>

	* gcc.dg/graphite/interchange-7.c: Un-XFAILed.
	* gcc.dg/graphite/interchange-9.c: Un-XFAILed.

From-SVN: r154597
parent caa675f8
2009-10-16 Sebastian Pop <sebastian.pop@amd.com>
* gcc.dg/graphite/interchange-7.c: Un-XFAILed.
* gcc.dg/graphite/interchange-9.c: Un-XFAILed.
2009-10-16 Sebastian Pop <sebastian.pop@amd.com>
Reapply the patch from Alexander Monakov that disappeared during
the last merges from trunk.
......
/* Formerly known as ltrans-8.c */
double foo(double *a)
double
foo (double *a)
{
int i,j;
double r = 0.0;
for (i=0; i<100; ++i)
for (j=0; j<1000; ++j)
r += a[j*100+i];
return r;
int i,j;
double r = 0.0;
for (i = 0; i < 100; ++i)
for (j = 0; j < 1000; ++j)
r += a[j * 100 + i];
return r;
}
/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
/* { dg-final { cleanup-tree-dump "graphite" } } */
......@@ -7,8 +7,9 @@ foo (int *x)
for (j = 0; j < 10000; ++j)
for (i = 0; i < 10000; ++i)
sum += x[10000 * i + j];
return sum;
}
/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
/* { dg-final { cleanup-tree-dump "graphite" } } */
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