aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/tree-vect-analyze.c5
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 47f3592..223b673 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2005-03-23 Dorit Naishlos <dorit@il.ib.com>
+
+ PR tree-optimization/20501
+ * tree-vect-analyze.c (vect_enhance_data_refs_alignment): Debug print
+ reporting that peeling for alignment is applied moved to...
+ * (vect_analyze_data_refs_alignment): Here.
+
2005-03-23 Ian Lance Taylor <ian@airs.com>
* reorg.c (dbr_schedule): Remove #if 0 code to call final.
diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c
index dd9342a..f3144e1 100644
--- a/gcc/tree-vect-analyze.c
+++ b/gcc/tree-vect-analyze.c
@@ -1183,8 +1183,6 @@ vect_enhance_data_refs_alignment (loop_vec_info loop_vinfo)
}
DR_MISALIGNMENT (dr0) = 0;
- if (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo)))
- fprintf (vect_dump, "Alignment of access forced using peeling.");
}
}
@@ -1260,6 +1258,9 @@ vect_analyze_data_refs_alignment (loop_vec_info loop_vinfo)
&& (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo))))
fprintf (vect_dump, "Vectorizing an unaligned access.");
}
+ if (LOOP_VINFO_UNALIGNED_DR (loop_vinfo)
+ && vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo)))
+ fprintf (vect_dump, "Alignment of access forced using peeling.");
return true;
}