projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.7.3
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr50014.c
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
/* { dg-final { cleanup-tree-dump "vect" } } */
16