https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121606
Hongtao Liu <liuhongt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |haochen.jiang at intel dot com, | |liuhongt at gcc dot gnu.org --- Comment #1 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- Note mevex512 option is deprecated in GCC15 and removed in GCC16. It's because avx10.1 will enable avx512fp16, but there's no avx512fp16 on Zen5 machine, and march=native will be expanded with -mno-avx512fp16 and it raised the warning. The warning can be reproduced with *-O2 -march=znver5 -mno-avx512fp16*