* c-common.c (handle_mode_attribute): Allow scalar->vector
type changes yet.
From-SVN: r89248
+2004-10-18 Richard Henderson <rth@redhat.com>
+
+ * c-common.c (handle_mode_attribute): Allow scalar->vector
+ type changes yet.
+
2004-10-18 Kazu Hirata <kazu@cs.umass.edu>
* expr.c (expand_expr_real_1) [MODIFY_EXPR]: Don't request a
TYPE_PRECISION (type) = TYPE_PRECISION (typefm);
typefm = type;
}
- else if (TREE_CODE (type) != TREE_CODE (typefm))
+ else if (VECTOR_MODE_P (mode)
+ ? TREE_CODE (type) != TREE_CODE (TREE_TYPE (typefm))
+ : TREE_CODE (type) != TREE_CODE (typefm))
{
error ("mode %qs applied to inappropriate type", p);
return NULL_TREE;