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
* config.gcc: Remove MASK_JUMP_IN_DELAY from target_cpu_default2.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
pr58551.c
blob
e2db70f9e8696a06fd0def787c23ba2322e3f783
1
/* PR middle-end/58551 */
2
/* { dg-do compile } */
3
/* { dg-options "-O0 -fopenmp" } */
4
5
void
6
foo
(
int
*
a
)
7
{
8
int
i
;
9
for
(
i
=
0
;
i
<
8
;
i
++)
10
#pragma omp task
11
if
(
a
[
i
])
12
__builtin_abort
();
13
}
14
15
void
bar
(
int
,
int
);
16
17
void
18
baz
(
int
*
a
)
19
{
20
int
i
;
21
for
(
i
=
0
;
i
<
8
;
i
++)
22
#pragma omp task
23
if
(
a
[
i
])
24
{
25
int
j
,
k
;
26
for
(
j
=
0
;
j
<
10
;
j
++)
27
for
(
k
=
0
;
k
<
8
;
k
++)
28
bar
(
j
,
k
);
29
for
(
k
=
0
;
k
<
12
;
k
++)
30
bar
(-
1
,
k
);
31
__builtin_abort
();
32
}
33
}