* gcc.dg/graphite/interchange-7.c: Un-XFAILed.
* gcc.dg/graphite/interchange-9.c: Un-XFAILed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154597
138bc75d-0d04-0410-961f-
82ee72b054a4
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" } } */
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" } } */