]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-12.c
2 /* { dg-options "-O2 -floop-interchange -fdump-tree-linterchange-details" } */
4 /* Copied from graphite/interchange-4.c */
13 static void __attribute__((noinline
,noclone
,noipa
))
14 foo (int N
, unsigned *res
)
18 for (i
= 0; i
< N
; i
++)
19 for (j
= 0; j
< N
; j
++)
20 sum
= u
[i
+ 2 * j
] / sum
;
41 fprintf (stderr
, "res = %d \n", res
);
50 /* { dg-final { scan-tree-dump-not "is interchanged" "linterchange"} } */