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
Implement C _FloatN, _FloatNx types.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr46172.c
blob
c8d1b4759678ba8295200e42de92fa0b35c7efc5
1
/* { dg-do compile } */
2
/* { dg-options "-fno-tree-dce -ftree-vectorize" } */
3
4
extern
short
X
[];
5
6
int
foo
(
int
len
)
7
{
8
int
i
;
9
int
s
=
0
;
10
for
(
i
=
0
;
i
<
len
;
i
++)
11
s
+=
X
[
i
] *
X
[
i
];
12
return
s
;
13
}