comparison gcc/testsuite/gcc.dg/vect/no-scevccp-pr86725-2.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 int
5 nr (int xe)
6 {
7 int oo, wo = 0;
8
9 for (oo = 0; oo < 4; ++oo)
10 {
11 int qq;
12
13 for (qq = 0; qq < 2; ++qq)
14 {
15 wo += 0x80000000;
16 xe += wo;
17 }
18 }
19 return xe;
20 }
21
22 /* { dg-final { scan-tree-dump "reduction used in loop" "vect" { target vect_int } } } */
23 /* { dg-final { scan-tree-dump-not "OUTER LOOP VECTORIZED" "vect" } } */