https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111062
--- Comment #1 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Zdenek Sojka from comment #0) > Created attachment 55755 [details] > reduced testcase > > Compiler output: > $ x86_64-pc-linux-gnu-gcc -O -mavx10.1-256 -mavx512bw -mno-avx512f testcase.c > cc1: warning: > '-mno-avx512{f,vl,bw,dq,cd,bf16,fp16,vbmi,vbmi2,vnni,ifma,bitalg,vpopcntdq}' > are ignored with '-mavx10.1' and above Warning message can be a little confusing. A better formulation might be: with avx10.1 enabled, -mno-avx512f does not fully disable AVX512-related instructions.