Dont add varying values to gori_on_edge mass calculations.
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-15-O0.c
blob1ddddee1388b61148cd1f609a63c9a9f2e0b727a
1 /* { dg-do compile } */
2 /* { dg-options "-Wuninitialized" } */
4 /* XFAIL for now, the uninitialized pass runs before inlining only at -O0. */
6 inline int __attribute__((always_inline))
7 foo (int i)
9 if (i) return 1; /* { dg-warning "is used uninitialized" {} { xfail *-*-* } } */
10 return 0;
13 void baz();
15 void bar()
17 int j; /* { dg-message "declared here" } */
18 for (; foo(j); ++j) /* { dg-warning "is used uninitialized" } */
19 baz();