From: Uros Bizjak Date: Sun, 31 Oct 2010 07:18:07 +0000 (+0100) Subject: re PR tree-optimization/46142 (FMA test failures) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0502fb85f3f8d36dc1760798bb3d14da4f03cb3e;p=gcc.git 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 --- 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;