]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/pr44133.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr44133.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wall" } */
3
4 struct S { int i, j; };
5
6 int foo (int l)
7 {
8 struct S s;
9 s.j = l - 22;
10 return s.i + s.j; /* { dg-warning ".s\.i. is used uninitialized" } */
11 }