Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
pr34694.c
blob: 35cbf3340646e8d7b45d067cb00ccde8076e38a1 [
file
] [
log
] [
blame
]
/* PR middle-end/34694 */
/* { dg-do compile } */
/* { dg-options "-O -fopenmp -Wall" } */
int
i
;
void
foo
()
{
#pragma
omp parallel
{
int
j
;
/* { dg-message "note: 'j' was declared here" } */
i
=
j
;
/* { dg-warning "is used uninitialized" } */
}
}