[Bug tree-optimization/43431] Diagnostic message is not clear for vectorization profitability analysis
spop at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 28 16:57:00 GMT 2010
------- Comment #3 from spop at gcc dot gnu dot org 2010-03-28 16:57 -------
What about fixing this bug with
diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c
index afbd342..2601b58 100644
--- a/gcc/tree-vect-loop.c
+++ b/gcc/tree-vect-loop.c
@@ -2173,9 +2173,9 @@ vect_estimate_min_profitable_iters (loop_vec_info
loop_vinfo)
else
{
if (vect_print_dump_info (REPORT_COST))
- fprintf (vect_dump, "cost model: vector iteration cost = %d "
- "is divisible by scalar iteration cost = %d by a factor "
- "greater than or equal to the vectorization factor = %d .",
+ fprintf (vect_dump, "cost model: the vector iteration cost = %d "
+ "divided by the scalar iteration cost = %d "
+ "is greater or equal to the vectorization factor = %d.",
vec_inside_cost, scalar_single_iter_cost, vf);
return -1;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43431
More information about the Gcc-bugs
mailing list