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
PR tree-optimization/81303
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
vla-3.c
blob
5070907f1e76c71fb8eea189e8afb81ee6fbbc0b
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 shared(A)
9
{
10
A
[
i
] =
sizeof
(
A
);
11
}
12
}