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
Merge -r 127928:132243 from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr34694.C
blob
5b98bd2a9a702bf5ccfd9d5f525cdbdea3faa5b8
1
// PR middle-end/34694
2
// { dg-do compile }
3
// { dg-options "-O -fopenmp -Wall" }
4
5
int i;
6
7
void
8
foo ()
9
{
10
#pragma omp parallel
11
{
12
int j; // { dg-warning "note: 'j' was declared here" }
13
i = j; // { dg-warning "is used uninitialized" }
14
}
15
}