------ cut here ------

#include <xmmintrin.h>

int main()
{
  float dest = 0.0;
  __m128 xmm0 = {0.0,0.0,0.0,0.0};
  _mm_store_ps(&dest, xmm0);

  return 0;
}

------ cut here ------

[~]> gcc -msse2 -o test test.c
[~]> ./test
zsh: segmentation fault  ./test

It doesn't crash when compiled with icc. Also testcase is reduced from a larger
library.


-- 
           Summary: SSE2 testcase crashes
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ismail at pardus dot org dot tr
GCC target triplet: i686-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35053

Reply via email to