mirror of git://gcc.gnu.org/git/gcc.git
re PR tree-optimization/30938 (Bootstrap fails on x86_64 for -ftree-vectorize)
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
This commit is contained in:
parent
7f0248d7e1
commit
c4a4d1a076
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2007-02-25 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* reload.c (find_reloads_address_1): Handle PLUS expressions resulting
|
* reload.c (find_reloads_address_1): Handle PLUS expressions resulting
|
||||||
|
|
|
@ -1844,7 +1844,7 @@ vectorizable_call (tree stmt, block_stmt_iterator *bsi, tree *vec_stmt)
|
||||||
}
|
}
|
||||||
rhs_type = TREE_TYPE (op);
|
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))
|
if (vect_print_dump_info (REPORT_DETAILS))
|
||||||
fprintf (vect_dump, "use not simple.");
|
fprintf (vect_dump, "use not simple.");
|
||||||
|
|
Loading…
Reference in New Issue