On Tue, 16 Jun 2020, Martin Liška wrote: > libgcc/ChangeLog: > > * libgcov-util.c (read_gcda_finalize): Remove const operator. > (merge_wrapper): Add both counts and use them properly. > (topn_to_memory_representation): New function. > (gcov_merge): Covert on disk representation to in memory > representation.
It may not have been this patch, but looking around the bootstrap failure I reported earlier I noticed the following in stage 2: /scratch/tmp/gerald/GCC-HEAD/gcc/../libgcc/libgcov-util.c: In function 'int gcov_profile_merge(gcov_info*, gcov_info*, int, int)': /scratch/tmp/gerald/GCC-HEAD/gcc/../libgcc/libgcov-util.c:703:12: warning: '*<unknown>' may be used uninitialized [-Wmaybe-uninitialized] 703 | tgt_tail = tgt_infos[tgt_cnt - 1]; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Do you also see this (or is this specific to my 32-bit tester)? Gerald