summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-transform.c
diff options
context:
space:
mode:
authordorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-19 07:14:26 +0000
committerdorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-19 07:14:26 +0000
commite687d74c978ca608cd0dc3e36fb2664602953a2e (patch)
tree95fc42e53929dcda9bdfdd4830a88c4090643c8e /gcc/tree-vect-transform.c
parent4c89f1d5d3a3636a81b683326dc3da58702152a7 (diff)
downloadgcc-e687d74c978ca608cd0dc3e36fb2664602953a2e.tar.gz
PR bootstrap/37152
* tree-vect-transform.c (vect_create_epilog_for_reduction): Change = to == in assert statement. (vectorizable_reduction): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139224 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-transform.c')
-rw-r--r--gcc/tree-vect-transform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c
index 29f52b645c2..ab7c6bf726c 100644
--- a/gcc/tree-vect-transform.c
+++ b/gcc/tree-vect-transform.c
@@ -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);