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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
vla-5.c
blob
20be204a5e15205f82f737d669f6b8278feb971f
1
// { dg-do compile }
2
/* { dg-require-effective-target alloca } */
3
4
void
foo
(
int
n
,
int
i
)
5
{
6
int
A
[
n
];
7
8
#pragma omp parallel sections lastprivate(A)
9
{
10
A
[
i
] =
1
;
11
}
12
}