[Patch SRA] Fix PR66119 by calling get_move_ratio in SRA
[official-gcc.git] / gcc / testsuite / g++.dg / uninit-pred-4.C
blob94ab13c50d6f147d7c30c516b05da208ff0e48a4
1 /* { dg-do compile } */
2 /* { dg-options "-Wuninitialized -Og" } */
4 int pop ();
5 int pop_first_bucket;
7 int my_pop ()
9   int out;  // { dg-bogus "uninitialized" "uninitialized variable warning" }
11   while (pop_first_bucket)
12     if (pop_first_bucket && (out = pop()))
13       return out;
15   return 0;