Debian Codegraph @

gcc/testsuite/gcc.dg/vect/no-scevccp-pr86725-4.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O -w" } */
3
4 int
5 nr (unsigned int xe, unsigned int qqn)
6 {
7 unsigned int oo, wo = 0;
8
9 for (oo = 0; oo < 4; ++oo)
10 {
11 unsigned int qq = qqn;
12 do
13 {
14 wo += 1;
15 xe += wo;
16 }
17 while (qq-- > 0);
18 }
19 return xe;
20 }
21
22 /* { dg-final { scan-tree-dump "Unknown def-use cycle pattern" "vect" { target vect_int } } } */
23 /* { dg-final { scan-tree-dump-not "OUTER LOOP VECTORIZED" "vect" } } */