repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
uninit-pred-4.C
blob
94ab13c50d6f147d7c30c516b05da208ff0e48a4
1
/* { dg-do compile } */
2
/* { dg-options "-Wuninitialized -Og" } */
3
4
int pop ();
5
int pop_first_bucket;
6
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
}