re PR tree-optimization/46142 (FMA test failures)

PR tree-optimization/46142
	* tree-vect-stmts.c (vectorizable_call): Enlarge dt array to
	accommodate third function argument.

From-SVN: r166105
This commit is contained in:
Uros Bizjak 2010-10-31 08:18:07 +01:00 committed by Uros Bizjak
parent 8e8e423f69
commit 0502fb85f3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-10-31 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/46142
* tree-vect-stmts.c (vectorizable_call): Enlarge dt array to
accommodate third function argument.
2010-10-30 Nathan Froyd <froydnj@codesourcery.com>
* tree-ssa-loop-im.c (rewrite_reciprocal): Use build_one_cst.

View File

@ -1308,7 +1308,8 @@ vectorizable_call (gimple stmt, gimple_stmt_iterator *gsi, gimple *vec_stmt)
loop_vec_info loop_vinfo = STMT_VINFO_LOOP_VINFO (stmt_info);
tree fndecl, new_temp, def, rhs_type;
gimple def_stmt;
enum vect_def_type dt[2] = {vect_unknown_def_type, vect_unknown_def_type};
enum vect_def_type dt[3]
= {vect_unknown_def_type, vect_unknown_def_type, vect_unknown_def_type};
gimple new_stmt = NULL;
int ncopies, j;
VEC(tree, heap) *vargs = NULL;