Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/split-path-4.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O2 -fsplit-paths -fdump-tree-split-paths-details -w" } */ powi_cost (long n) { unsigned char cache[256]; unsigned long digit; unsigned long val; int result; while (val >= 256) { if (val & 1) { result += powi_lookup_cost (digit, cache) + 3 + 1; } else { val >>= 1; } } } /* { dg-final { scan-tree-dump-times "Duplicating join block" 1 "split-paths" } } */