re PR bootstrap/37152 (tree-vect-transform.c: use of "=" where "==" may have been intended)

PR bootstrap/37152
        * tree-vect-transform.c (vect_create_epilog_for_reduction): Change =
        to == in assert statement.
        (vectorizable_reduction): Fix typo.

From-SVN: r139224
This commit is contained in:
Dorit Nuzman 2008-08-19 07:14:26 +00:00 committed by Dorit Nuzman
parent cfd648ca23
commit 45ea82c11f
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2008-08-19 Dorit Nuzman <dorit@il.ibm.com>
PR bootstrap/37152
* tree-vect-transform.c (vect_create_epilog_for_reduction): Change =
to == in assert statement.
(vectorizable_reduction): Fix typo.
2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/37153

View file

@ -2485,7 +2485,7 @@ vect_create_epilog_for_reduction (tree vect_def, gimple stmt,
goto vect_finalize_reduction;
/* FORNOW */
gcc_assert (ncopies = 1);
gcc_assert (ncopies == 1);
/* 2.3 Create the reduction code, using one of the three schemes described
above. */
@ -3133,7 +3133,7 @@ vectorizable_reduction (gimple stmt, gimple_stmt_iterator *gsi,
prev_phi_info = vinfo_for_stmt (new_phi);
}
/* Finalize the reduction-phi (set it's arguments) and create the
/* Finalize the reduction-phi (set its arguments) and create the
epilog reduction code. */
if (!single_defuse_cycle)
new_temp = gimple_assign_lhs (*vec_stmt);