OSDN Git Service

* tree-scalar-evolution.c (follow_ssa_edge_in_rhs,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / ltrans-6.c
1 /* { dg-do compile } */ 
2 /* { dg-options "-O2 -ftree-loop-linear -fdump-tree-ltrans-all" } */
3 /* { dg-require-effective-target size32plus } */
4
5
6
7 int medium_loop_interchange(int A[100][200])
8 {
9   int i,j;
10
11   /* This loop should be interchanged. */
12
13   for(j = 0; j < 200; j++)
14     for(i = 0; i < 100; i++)
15       A[i][j] = A[i][j] + A[i][j];
16
17   return A[1][1];
18 }
19
20 /* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */ 
21 /* { dg-final { cleanup-tree-dump "ltrans" } } */