https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100088
Hongtao.liu <crazylht at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crazylht at gmail dot com --- Comment #2 from Hongtao.liu <crazylht at gmail dot com> --- > > This issue does not exist for sse or avx512f. Setting `-march=haswell` or > `-mtune=haswell` on the command line also seems to fix this but neither of > these works when added to the target attribute. It seems a problem that target attribute arch=haswell didn't work https://godbolt.org/z/5hhqTYv9G