http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50574
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-30 12:47:32 UTC --- FYI Index: tree-cfg.c =================================================================== --- tree-cfg.c (revision 179378) +++ tree-cfg.c (working copy) @@ -3229,8 +3302,8 @@ verify_gimple_comparison (tree type, tre } 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);