Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
autopar
/
pr57103.c
blob: fa7067607489d9e6212885c12a8307e13dc5b7c2 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O -ftree-parallelize-loops=4" } */
int
d
[
1024
];
static
inline
int
foo
(
void
)
{
int
s
=
0
;
int
i
=
0
;
for
(;
i
<
1024
;
i
++)
s
+=
d
[
i
];
return
s
;
}
void
bar
(
void
)
{
if
(
foo
())
__builtin_abort
();
}