1 /* PR tree-optimization/17506
2 We issue an uninitialized variable warning at a wrong location at
3 line 11, which is very confusing. Make sure we print out a note to
4 make it less confusing. */
5 /* { dg-do compile } */
6 /* { dg-options "-O1 -Wuninitialized" } */
11 if (i
) /* { dg-warning "used uninitialized in this function" } */
21 int j
; /* { dg-message "note: 'j' was declared here" } */