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
2018-03-20 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
costmodel
/
x86_64
/
costmodel-pr84986.c
blob
b6dc385855e9c594fc35eec08de6b3266b334d83
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_long } */
3
4
int
N
;
5
long
fn1
(
void
) {
6
short
i
;
7
long
a
;
8
i
=
a
=
0
;
9
while
(
i
<
N
)
10
a
-=
i
++;
11
return
a
;
12
}
13
14
/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */