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 libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
pr27573.c
blob
239e9913cb3787c385b7dd6f570008bb2d54cd4b
1
/* PR middle-end/27573 */
2
/* { dg-do compile } */
3
/* { dg-require-profiling "-fprofile-generate" } */
4
/* { dg-options "-O2 -fopenmp -fprofile-generate" } */
5
6
extern
int
puts
(
const char
*);
7
8
int
9
main
(
void
)
10
{
11
int
i
,
j
=
8
;
12
#pragma omp parallel
13
{
14
puts
(
"foo"
);
15
for
(
i
=
1
;
i
<
j
-
1
;
i
++)
16
;
17
}
18
return
0
;
19
}