https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104683
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|WAITING |RESOLVED --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- G5905 aka Comet Lake also has no AVX (but that's just skylake++ and we don't have any -march= for those). Note that our documentation says: @item haswell Intel Haswell CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, CX16, SAHF, FXSR, AVX, XSAVE, PCLMUL, FSGSBASE, RDRND, F16C, AVX2, BMI, BMI2, LZCNT, FMA, MOVBE and HLE instruction set support. so it explicitely mentions AVX2 - that means you cannot match Intel Product Names and GCC -march= identifiers 1:1. So I'd say it works as intended.