https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112643
--- Comment #22 from Haochen Jiang <haochen.jiang at intel dot com> --- A quick workaround would be not appending -mno-avx10.1-xxx into -march=native. And it should work after my experiment. However, I am finding a better way to do that. The real problem seems like the AVX10 and AVX512 options handling in override part messed up flags while both explicit no on options and finally messed up the pragma push in avx512vp2intersect since it is the only AVX512 ISA out of AVX10.1 except for Xeon Phi.