https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82094
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-09-04 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Problem is that called function has set ISA flag: -mavx512vbmi And that's also what clang says: clang pr82094.c -march=skylake-avx512 -mavx512f pr82094.c:16:11: error: always_inline function '_mm512_permutexvar_epi8' requires target feature 'avx512vbmi', but would be inlined into function 'main' that is compiled without support for 'avx512vbmi' c = _mm512_permutexvar_epi8(a, b); ^ Thus it's probably invalid.