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++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
pr88588.c
blob
fb1a671b1ee00e58822b267017252098cb1ab083
1
/* PR middle-end/88588 */
2
/* { dg-do compile } */
3
/* { dg-options "-fopenmp -O1" } */
4
5
int
*
v
;
6
7
#pragma omp declare simd
8
void
9
foo
(
int
x
)
10
{
11
int
*
a
= &
x
;
12
13
for
(;;)
14
{
15
*
v
= *
a
;
16
a
=
v
;
17
}
18
}