IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-pr20644-O0.c
blob092d41164953067651a0bb7ceff3c65c9bbf189d
1 /* PR 20644 */
2 /* { dg-do compile } */
3 /* { dg-options "-O0 -Wuninitialized" } */
4 int foo ()
6 int i = 0;
7 int j;
9 if (1 == i)
10 return j; /* { dg-bogus "uninitialized" "uninitialized" { xfail *-*-* } 10 } */
12 return 0;
15 int bar ()
17 int i = 1;
18 int j;
20 if (1 == i)
21 return j; /* { dg-warning "uninitialized" "uninitialized" { target *-*-* } 21 } */
23 return 0;