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 target/84226
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c-c++-common
/
pr83046.c
blob
90dcb704fb39f200f4e97952d9ceeec79fa18708
1
/* { dg-do link } */
2
3
#define N 100
4
5
int
6
main
()
7
{
8
int
a
[
N
];
9
int
i
,
x
;
10
int
c
;
11
12
c
=
1
;
13
#pragma omp target
14
for
(
i
=
0
;
i
<
100
;
i
++)
15
a
[
i
] =
0
;
16
17
if
(
c
)
18
__builtin_unreachable
();
19
20
#pragma omp target
21
for
(
i
=
0
;
i
<
100
;
i
++)
22
a
[
i
] =
1
;
23
24
return
0
;
25
}