Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr44133.c
blobd3d0fe3a98624a263e2c7fc4a620627602d3159d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wall" } */
4 struct S { int i, j; };
6 int foo (int l)
8 struct S s;
9 s.j = l - 22;
10 return s.i + s.j; /* { dg-warning ".s\.i. is used uninitialized" } */