libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / no-scevccp-pr86725-1.c
blob3bc63a6552b2ad25dcedf929d195381c54f0fb23
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O -w" } */
4 int foo;
5 int
6 nr (int xe, int z)
8 int oo, wo = 0;
10 for (oo = 0; oo < 4; ++oo)
12 int qq;
14 int old_wo = wo;
15 for (qq = 0; qq < 2; ++qq)
17 wo = z + qq + old_wo;
18 xe += wo;
21 foo = wo;
22 return xe;
25 /* { dg-final { scan-tree-dump-not "double reduction: wo" "vect" } } */
26 /* { dg-final { scan-tree-dump-not "OUTER LOOP VECTORIZED" "vect" } } */