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
openmp: Add testcases for omp_max_vf
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr50014.c
blob
6ed43c681a9cd3a3a1e436a7efeb261e9284e350
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
int
f
(
unsigned char
*
s
,
int
n
)
5
{
6
int
sum
=
0
;
7
int
i
;
8
9
for
(
i
=
0
;
i
<
n
;
i
++)
10
sum
+=
256
*
s
[
i
];
11
12
return
sum
;
13
}
14
15