On 27.03.2025 01:40, Volodymyr Babchuk wrote: > GCC 14.1 has 9 gcov counters and also can call new merge function > __gcov_merge_ior(), so we need a new stub for it. > > Signed-off-by: Volodymyr Babchuk <volodymyr_babc...@epam.com>
As to the title - what about 14.2.0? Or the soon to appear 14.3.0? I recommend to say just 14. > --- a/xen/common/coverage/gcc_4_7.c > +++ b/xen/common/coverage/gcc_4_7.c > @@ -28,8 +28,10 @@ > #define GCOV_COUNTERS 10 > #elif GCC_VERSION < 100000 > #define GCOV_COUNTERS 9 > -#else > +#elif GCC_VERSION < 140100 The situation is a little less clear here because the development window is fuzzy to cover. Nevertheless with all other conditionals here using only a major version, with subversion being 0, I think the same should go for 14. Unless of course there is a good reason to be inconsistent. With both adjustments: Reviewed-by: Jan Beulich <jbeul...@suse.com> Jan