Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-pred-7_b.c
blob338d18c95e3f491b5dd7fec75a29b730634ad851
2 /* { dg-do compile } */
3 /* { dg-options "-Wuninitialized -O2" } */
5 int g;
6 void bar();
7 void blah(int);
9 int foo (int n, int l, int m, int r)
11 int v;
13 if (n > 10)
14 v = r;
16 if (m) g++;
17 else bar();
19 if (( n > 10) || (l != 100))
20 blah (v); /* { dg-warning "uninitialized" "warning" } */
22 return 0;