https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89124
--- Comment #1 from Thiago Macieira <thiago at kde dot org> --- Worse: $ cat test.cpp #include <immintrin.h> #ifdef __GNUC__ __attribute__((no_sanitize_address)) #endif void f(void *ptr) { _mm256_loadu_si256((__m256i *)ptr); } $ gcc -c -mavx2 test.cpp [same errors]