Skip to content
Snippets Groups Projects
  • Martin Liska's avatar
    dcb1e137
    Fix POW2 histogram · dcb1e137
    Martin Liska authored
    	* gcc.dg/tree-prof/val-prof-8.c: New test.
    	* value-prof.c (dump_histogram_value): Swap pow2 and non-pow2
    	values.
    	* libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
    	power of two.
    
    From-SVN: r239304
    dcb1e137
    History
    Fix POW2 histogram
    Martin Liska authored
    	* gcc.dg/tree-prof/val-prof-8.c: New test.
    	* value-prof.c (dump_histogram_value): Swap pow2 and non-pow2
    	values.
    	* libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
    	power of two.
    
    From-SVN: r239304