aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-analyze.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-vect-analyze.c')
-rw-r--r--gcc/tree-vect-analyze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c
index 3c55fd4..be6d81c 100644
--- a/gcc/tree-vect-analyze.c
+++ b/gcc/tree-vect-analyze.c
@@ -390,7 +390,7 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
}
STMT_VINFO_VECTYPE (stmt_info) = vectype;
- nunits = GET_MODE_NUNITS (TYPE_MODE (vectype));
+ nunits = TYPE_VECTOR_SUBPARTS (vectype);
if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC))
fprintf (vect_dump, "nunits = %d", nunits);