2018-03-20 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / costmodel / x86_64 / costmodel-pr84986.c
blobb6dc385855e9c594fc35eec08de6b3266b334d83
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_long } */
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;
14 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */