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
Daily bump.
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
pr69110.c
blob
0d9e5ca5c3cfe7d794ae94610829080bc0b1a55d
1
/* { dg-do run } */
2
/* { dg-options "-ftree-parallelize-loops=2 -O1 -fno-tree-loop-im" } */
3
4
#define N 1000
5
6
unsigned int
i
=
0
;
7
8
static void
__attribute__
((
noinline
,
noclone
))
9
foo
(
void
)
10
{
11
unsigned int
z
;
12
for
(
z
=
0
;
z
<
N
; ++
z
)
13
++
i
;
14
}
15
16
extern
void
abort
(
void
);
17
18
int
19
main
(
void
)
20
{
21
foo
();
22
if
(
i
!=
N
)
23
abort
();
24
25
return
0
;
26
}