comparison gcc/testsuite/gcc.dg/vect/no-scevccp-pr86725-5.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O -w" } */
3
4 unsigned int foo;
5 int
6 nr (unsigned int xe, unsigned int qqn)
7 {
8 unsigned int oo, wo = 0;
9
10 for (oo = 0; oo < 4; ++oo)
11 {
12 unsigned int qq = qqn;
13 do
14 {
15 wo += 1;
16 xe += qq;
17 }
18 while (qq-- > 0);
19 }
20 foo = wo;
21 return xe;
22 }
23
24 /* { dg-final { scan-tree-dump "OUTER LOOP VECTORIZED" "vect" { target vect_int } } } */