diff '--color=auto' -ruN libkdumpfile-0.4.1/src/kdumpfile/devmem.c libkdumpfile-0.4.1-fix-for-gcc12/src/kdumpfile/devmem.c --- libkdumpfile-0.4.1/src/kdumpfile/devmem.c 2020-02-13 06:48:02.000000000 -0800 +++ libkdumpfile-0.4.1-fix-for-gcc12/src/kdumpfile/devmem.c 2022-04-21 16:54:42.830664327 -0700 @@ -84,6 +84,7 @@ } } +__attribute__((__noipa__)) static int xen_cpuid(uint32_t leaf, uint32_t subleaf, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx)