https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81389
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to rockeet from comment #9) > Created attachment 41962 [details] > test intrinsic _mm_cmpestri > > test case source file is attached. > > $ g++ -march=native _mm_cmpestri_test.cpp # default -O0 > $ ./a.out # segfault > Segmentation fault (core dumped) *(const __m128i*)(ptr+3), ^^^^^^^^^^^^^^^^^^ You can't lie to compiler. This isn't aligned. *(const __m128i_u *)(ptr+3), ^^^^^^^^^^ Please use __m128i_u instead.