Debian Codegraph @

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

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O -w" } */
3
4 int foo;
5 int
6 nr (int xe)
7 {
8 int oo, wo = 0;
9
10 for (oo = 0; oo < 4; ++oo)
11 {
12 int qq;
13
14 for (qq = 0; qq < 2; ++qq)
15 {
16 wo += 0x80000000;
17 xe += wo;
18 }
19 }
20 foo = wo;
21 return xe;
22 }
23
24 /* { dg-final { scan-tree-dump "reduction used in loop" "vect" { target vect_int } } } */
25 /* { dg-final { scan-tree-dump-not "OUTER LOOP VECTORIZED" "vect" } } */