Dear all: I am generating different optimization flags using the GCC compiler randomly. On some combinations I am getting the error messages. One such combination is given below: gcc -O3 -lm -fno-peephole2 -freorder-blocks -falign-loops=19 -fno-zero-initialized-in-bss -fno-optimize-register-move -fsignaling-nans -fno-data-sections -fdefault-inline -fno-optimize-sibling-calls -ffast-math -fno-sched2-use-traces -fbranch-target-load-optimize2 -fprofile-generate -fno-sched-spec-load -fcse-follow-jumps -frerun-cse-after-loop -fvpt -fno-omit-frame-pointer -fno-math-errno -fno-sched-spec -fno-defer-pop -fbranch-count-reg -funroll-loops -fno-if-conversion2 -fno-unroll-all-loops -fschedule-insns -fno-function-sections -fsched-spec-load-dangerous -fno-inline-functions -fno-align-labels -fcse-skip-blocks -fno-delayed-branch -fno-merge-constants -fno-delete-null-pointer-checks -fsched-interblock -fno-cprop-registers -fno-sched-stalled-insns -frename-registers -fno-if-conversion -fpeephole -fbranch-target-load-optimize -fno-thread-jumps -fstrict-aliasing -fno-expensive-optimizations -fno-force-addr -ffinite-math-only -fno-unit-at-a-time -fno-inline -fno-rerun-loop-opt -fsingle-precision-constant -fno-align-jumps -fno-function-cse -fweb -fgcse-lm -fgcse -freorder-functions -fpeel-loops -fno-prefetch-loop-arrays -fno-unsafe-math-optimizations -fguess-branch-probability -fno-keep-inline-functions -fno-merge-all-constants -fschedule-insns2 -fno-trapping-math -fkeep-static-consts -fgcse-las -ftracer -fno-sched2-use-superblocks -fno-strength-reduce -fno-profile-values -fno-profile-use -fno-align-functions -floop-optimize -fsched-stalled-insns-dep=28 -ffloat-store -fgcse-sm -fno-unswitch-loops -fno-force-mem -fno-regmove -fbranch-probabilities -frounding-math *.c The error messages using the above combination of flags are: In file included from /usr/include/sys/types.h:223, from /usr/include/stdlib.h:438, from test.c:3: /usr/include/sys/sysmacros.h: In function gnu_dev_major: /usr/include/sys/sysmacros.h:45: error: coverage mismatch for function gnu_dev_majorwhile reading counter arcs /usr/include/sys/sysmacros.h:45: error: checksum is 4aabd925 instead of 46dacb4d /usr/include/sys/sysmacros.h: In function gnu_dev_minor: /usr/include/sys/sysmacros.h:51: error: coverage mismatch for function gnu_dev_minor while reading counter arcs /usr/include/sys/sysmacros.h:51: error: checksum is 2fd1d84 instead of a547d799 /usr/include/sys/sysmacros.h: In function gnu_dev_makedev: /usr/include/sys/sysmacros.h:59: error: coverage mismatch for function gnu_dev_makedev while reading counter arcs /usr/include/sys/sysmacros.h:59: error: checksum is bbf96c2 instead of d1fb9096 test.c: In function main: test.c:31: error: coverage mismatch for function main while reading counter arcs test.c:31: error: checksum is 1f077c85 instead of f9a54475 test.c is a C file which I am compiling. It consists of simple nested loops. Thanks in advance for your help. -- Regards, Wei Li