summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-analyze.c
diff options
context:
space:
mode:
authordorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-27 15:19:45 +0000
committerdorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-27 15:19:45 +0000
commit7ec5e827daf5f8321966d4c4d937f6f43e3b3a1a (patch)
tree6c63f03b22547f30e56dc15e80be8a92a5de17bb /gcc/tree-vect-analyze.c
parent7edecb0ffe8dbb18f0fab5f5a28fa77095de6b4c (diff)
downloadgcc-7ec5e827daf5f8321966d4c4d937f6f43e3b3a1a.tar.gz
PR tree-optimization/23073
* tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call vect_print_dump_info before fprintf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102431 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-analyze.c')
-rw-r--r--gcc/tree-vect-analyze.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c
index 45deb5c0952..6786161312b 100644
--- a/gcc/tree-vect-analyze.c
+++ b/gcc/tree-vect-analyze.c
@@ -1056,13 +1056,16 @@ vect_analyze_data_refs_alignment (loop_vec_info loop_vinfo)
supportable_dr_alignment = vect_supportable_dr_alignment (dr);
if (!supportable_dr_alignment)
{
- if (DR_IS_READ (dr))
- fprintf (vect_dump,
- "not vectorized: unsupported unaligned load.");
- else
- fprintf (vect_dump,
- "not vectorized: unsupported unaligned store.");
- return false;
+ if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
+ {
+ if (DR_IS_READ (dr))
+ fprintf (vect_dump,
+ "not vectorized: unsupported unaligned load.");
+ else
+ fprintf (vect_dump,
+ "not vectorized: unsupported unaligned store.");
+ }
+ return false;
}
if (supportable_dr_alignment != dr_aligned
&& (vect_print_dump_info (REPORT_ALIGNMENT)))