This code
#include <xmmintrin.h>
volatile __m128 a, b;
void test(void)
{
a = b;
}
produces this error
$ /opt/intel/composerxe/bin/icpc -c test.cc
test.cc(7): error: class "__m128" has no suitable assignment operator
a = b;
^
compilation aborted for test.cc (code 2)
when compiled with icpc. There is no error if the variables are not volatile. There is no error with icc or gcc or g++.
Any suggestion on how to compile it with icpc?