1 /* { dg-do compile } */
2 /* { dg-options "-Wuninitialized -Og" } */
3 
4 int pop ();
5 int pop_first_bucket;
6 
my_pop()7 int my_pop ()
8 {
9   int out;  // { dg-bogus "uninitialized" "uninitialized variable warning" }
10 
11   while (pop_first_bucket)
12     if (pop_first_bucket && (out = pop()))
13       return out;
14 
15   return 0;
16 }
17