Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ltrans-6.c
blobedf30a3d57315935c2ba903ff981791533824c47
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-loop-linear -fdump-tree-ltrans-all" } */
3 /* { dg-require-effective-target size32plus } */
7 int medium_loop_interchange(int A[100][200])
9 int i,j;
11 /* This loop should be interchanged. */
13 for(j = 0; j < 200; j++)
14 for(i = 0; i < 100; i++)
15 A[i][j] = A[i][j] + A[i][j];
17 return A[1][1];
20 /* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */
21 /* { dg-final { cleanup-tree-dump "ltrans" } } */