PR c++/18073
* typeck.c (build_reinterpret_cast_1): Allow cast from vector type.
* g++.dg/other/mmintrin.C: New test.
From-SVN: r91929
+2004-12-09 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/18073
+ * typeck.c (build_reinterpret_cast_1): Allow cast from vector type.
+
2004-12-09 Nathan Sidwell <nathan@codesourcery.com>
PR c++/16681
}
else if (TREE_CODE (type) == VECTOR_TYPE)
return fold_if_not_in_template (convert_to_vector (type, expr));
+ else if (TREE_CODE (intype) == VECTOR_TYPE)
+ return fold_if_not_in_template (convert_to_integer (type, expr));
else
{
if (valid_p)
+2004-12-09 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/18073
+ * g++.dg/other/mmintrin.C: New test.
+
2004-12-09 Nathan Sidwell <nathan@codesourcery.com>
PR c++/16681
--- /dev/null
+// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-options "-msse" }
+
+#include <xmmintrin.h>