https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101142
--- Comment #4 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Andrew Pinski from comment #3) > The exact command line to hit this issue is: > -O3 -march=skylake-avx512 Yes, thanks for the clarification. g++ byteswap.cpp test.cpp -march=skylake-avx512 -O3 -DDTYPE32