PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / split-path-4.c
blobdac931c18d0009a142e5c8a10aecc3a8660afc60
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fsplit-paths -fdump-tree-split-paths-details -w" } */
4 powi_cost (long n)
6 unsigned char cache[256];
7 unsigned long digit;
8 unsigned long val;
9 int result;
10 while (val >= 256)
12 if (val & 1)
14 result += powi_lookup_cost (digit, cache) + 3 + 1;
16 else
18 val >>= 1;
23 /* { dg-final { scan-tree-dump-times "Duplicating join block" 1 "split-paths" } } */