GCC 15 (with commit "Add prime path coverage to gcc/gcov") added a new, tenth counter. Reflect this in gcc_4_7.c.
Signed-off-by: Volodymyr Babchuk <volodymyr_babc...@epam.com> --- xen/common/coverage/gcc_4_7.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xen/common/coverage/gcc_4_7.c b/xen/common/coverage/gcc_4_7.c index f4c1802303..0d83f60180 100644 --- a/xen/common/coverage/gcc_4_7.c +++ b/xen/common/coverage/gcc_4_7.c @@ -30,8 +30,10 @@ #define GCOV_COUNTERS 9 #elif GCC_VERSION < 140000 #define GCOV_COUNTERS 8 -#else +#elif GCC_VERSION < 150000 #define GCOV_COUNTERS 9 +#else +#define GCOV_COUNTERS 10 #endif #define GCOV_TAG_FUNCTION_LENGTH 3 -- 2.50.0