tree-vect-patterns.c (vect_pattern_recog_1): Bail out if we don't get a vector type for output.

* tree-vect-patterns.c (vect_pattern_recog_1): Bail out if we
don't get a vector type for output.

From-SVN: r160781
This commit is contained in:
Alexandre Oliva 2010-06-15 12:21:35 +00:00 committed by Alexandre Oliva
parent 79943d19dc
commit 15bbc165ea
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-06-15 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.
2010-06-15 Jakub Jelinek <jakub@redhat.com>
PR fortran/44536

View File

@ -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))