[Bug c++/30016] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in convert_move, at expr.c:362

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 26 22:13:00 GMT 2006



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-12-26 22:13 -------
Here is the patch which I am going to test in the new year:
Index: typeck.c
===================================================================
--- typeck.c    (revision 120211)
+++ typeck.c    (working copy)
@@ -5285,7 +5285,7 @@
     }
   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)
+  else if (TREE_CODE (intype) == VECTOR_TYPE && INTEGRAL_TYPE_P (type))
     return fold_if_not_in_template (convert_to_integer (type, expr));
   else
     {


-- 


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



More information about the Gcc-bugs mailing list