PR tree-optimization/30938
* tree-vect-transform.c (vectorizable_call): Fix off-by-one error:
use &dt[nargs-1] instead of &dt[nargs] in the call to
vect_is_simple_use().
From-SVN: r122323
+2007-02-25 Uros Bizjak <ubizjak@gmail.com>
+
+ PR tree-optimization/30938
+ * tree-vect-transform.c (vectorizable_call): Fix off-by-one error:
+ use &dt[nargs-1] instead of &dt[nargs] in the call to
+ vect_is_simple_use().
+
2007-02-25 Ulrich Weigand <uweigand@de.ibm.com>
* reload.c (find_reloads_address_1): Handle PLUS expressions resulting
}
rhs_type = TREE_TYPE (op);
- if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt[nargs]))
+ if (!vect_is_simple_use (op, loop_vinfo, &def_stmt, &def, &dt[nargs-1]))
{
if (vect_print_dump_info (REPORT_DETAILS))
fprintf (vect_dump, "use not simple.");