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
Fix single-threaded build for targets without atomics
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.graphite
/
pr41118.c
blob
4256f4aac3dd481bfa5b28a721c2e9fe22f1089a
1
void
foo
(
int
*
a
,
int
*
b
)
2
{
3
int
i
;
4
int
*
c
=
b
+
1
;
5
6
for
(
i
=
0
;
i
<
100
;
i
++)
7
a
[
i
] =
c
[
i
];
8
}
9
10
int
main
(
void
)
11
{
12
return
0
;
13
}
14
15
/* Check that parallel code generation part make the right answer. */
16
/* { dg-final { scan-tree-dump-times "loopfn" 0 "optimized" } } */