summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/ltrans-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/ltrans-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ltrans-1.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ltrans-1.c b/gcc/testsuite/gcc.dg/tree-ssa/ltrans-1.c
deleted file mode 100644
index bff58f6a41d..00000000000
--- a/gcc/testsuite/gcc.dg/tree-ssa/ltrans-1.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -ftree-loop-linear -fdump-tree-ltrans-all" } */
-/* { dg-options "-O2 -ftree-loop-linear -fdump-tree-ltrans-all -march=i486" { target { i?86-*-* && ilp32} } } */
-/* { dg-require-effective-target size32plus } */
-
-double u[1782225];
-int foo(int N, int *res)
-{
- int i, j;
- double sum = 0.0;
- /* This loop should be converted to a perfect nest and
- interchanged. */
- for (i = 0; i < N; i++)
- {
- for (j = 0; j < N; j++)
- sum = sum + u[i + 1335 * j];
-
- u[1336 * i] *= 2;
- }
- *res = sum + N;
-}
-/* { dg-final { scan-tree-dump-times "converted loop nest to perfect loop nest" 1 "ltrans"} } */
-/* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */
-/* { dg-final { cleanup-tree-dump "ltrans" } } */