PR middle-end/50574
* tree-cfg.c (verify_gimple_comparison): Compare component
mode sizes for vector comparisons.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179382
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-09-30 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/50574
+ * tree-cfg.c (verify_gimple_comparison): Compare component
+ mode sizes for vector comparisons.
+
2011-09-30 Revital Eres <revital.eres@linaro.org>
* ddg.c (autoinc_var_is_used_p): New function.
}
if (TYPE_VECTOR_SUBPARTS (type) != TYPE_VECTOR_SUBPARTS (op0_type)
- || (GET_MODE_SIZE (TYPE_MODE (type))
- != GET_MODE_SIZE (TYPE_MODE (op0_type))))
+ || (GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (type)))
+ != GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (op0_type)))))
{
error ("invalid vector comparison resulting type");
debug_generic_expr (type);