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:
Uros Bizjak 2007-02-26 00:18:45 +01:00 committed by Uros Bizjak
parent 7f0248d7e1
commit c4a4d1a076
2 changed files with 8 additions and 1 deletions

View File

@ -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>
* reload.c (find_reloads_address_1): Handle PLUS expressions resulting

View File

@ -1844,7 +1844,7 @@ vectorizable_call (tree stmt, block_stmt_iterator *bsi, tree *vec_stmt)
}
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.");