Message ID | or7hm0lcdb.fsf@livre.localdomain |
---|---|
State | New |
Headers | show |
for gcc/ChangeLog from Alexandre Oliva <aoliva@redhat.com> * tree-vect-patterns.c (vect_pattern_recog_1): Bail out if we don't get a vector type for output. Index: gcc/tree-vect-patterns.c =================================================================== --- gcc/tree-vect-patterns.c.orig 2010-06-14 16:08:23.000000000 -0300 +++ gcc/tree-vect-patterns.c 2010-06-14 16:25:04.000000000 -0300 @@ -699,6 +699,8 @@ vect_pattern_recog_1 ( type_out = get_vectype_for_scalar_type (type_out); else type_out = type_in; + if (!type_out) + return; pattern_vectype = type_out; if (is_gimple_assign (pattern_stmt))