https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112548

--- Comment #19 from Filip Kastl <pheeck at gcc dot gnu.org> ---
There's indeed another difference. In my case, gcc gets called with -std=gnu99.
Otherwise, I think the options are the same.

gcc -std=gnu99 -c -o pbeampp.o -DSPEC_CPU -DNDEBUG  -DWANT_STDC_PROTO 
-fprofile-use    -Ofast -g -march=native -mtune=native  -flto=32       
-DSPEC_CPU_LP64         pbeampp.c

If adding -std=gnu99 doesn't help, I can try to generate the gcda with znver4
instead of native as you suggested.

Reply via email to