From 0e6b0dafa31335e74c230356f71d0356089a3a3f Mon Sep 17 00:00:00 2001 From: Dorit Naishlos Date: Wed, 23 Mar 2005 15:52:59 +0000 Subject: [PATCH] re PR tree-optimization/20501 (gcc.dg/vect/vect-93.c fails on ia64-hpux) 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. From-SVN: r96932 --- gcc/ChangeLog | 7 +++++++ gcc/tree-vect-analyze.c | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47f35922744..223b6738d62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-03-23 Dorit Naishlos + + 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 * 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 dd9342a8136..f3144e1af57 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; } -- 2.30.2