]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/modref-15.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / modref-15.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-modref1" } */
3 int test (int *a)
4 {
5 int i;
6 for (i=0; a[i];i++);
7 return i+a[i];
8 }
9 /* { dg-final { scan-tree-dump "access: Parm 0" "modref1"} } */