]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/alias-21.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / alias-21.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
5 int f(int *r)
6 {
7 r[0] = 0;
8 r[1] = 1;
9 return r[0];
10 }
11
12
13 /* { dg-final { scan-tree-dump-times "return 0;" 1 "optimized" } } */
14