From 0502fb85f3f8d36dc1760798bb3d14da4f03cb3e Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 31 Oct 2010 08:18:07 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/tree-vect-stmts.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2b0142585e..13292d42f41 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-10-31 Uros Bizjak + + PR tree-optimization/46142 + * tree-vect-stmts.c (vectorizable_call): Enlarge dt array to + accommodate third function argument. + 2010-10-30 Nathan Froyd * tree-ssa-loop-im.c (rewrite_reciprocal): Use build_one_cst. diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index 6f4f56861d0..67e9e2bc445 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -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; -- 2.30.2