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 tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr59670.c
blob
a68253b4b6373e3f8dc22059f4ee7db4686d4624
1
/* PR middle-end/59670 */
2
/* { dg-do compile } */
3
/* { dg-options "-O1 -fopenmp-simd" } */
4
5
int
d
[
1024
];
6
7
int
8
foo
(
int
j
,
int
b
)
9
{
10
int
l
,
c
=
0
;
11
#pragma omp simd reduction(+: c)
12
for
(
l
=
0
;
l
<
b
; ++
l
)
13
c
+=
d
[
j
+
l
];
14
return
c
;
15
}