diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-08-22 11:19:39 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-08-22 11:19:39 +0200 |
commit | 6f723d3319d8a656079b0509be4a249c0fbd955c (patch) | |
tree | 98675a15894bfa9e3293f468a5a660c709083407 /gcc/tree-vect-data-refs.c | |
parent | 06d43afd8592777cbc11e78a8b7667fda6c1eace (diff) | |
download | gcc-6f723d3319d8a656079b0509be4a249c0fbd955c.zip gcc-6f723d3319d8a656079b0509be4a249c0fbd955c.tar.gz gcc-6f723d3319d8a656079b0509be4a249c0fbd955c.tar.bz2 |
tree-vrp.c (find_assert_locations): Skip also edges from the entry block.
* tree-vrp.c (find_assert_locations): Skip also edges
from the entry block.
* tree-vect-loop-manip.c (slpeel_make_loop_iterate_ntimes): Call
free_stmt_vec_info on orig_cond after gsi_removing it.
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Always
free body_cost_vec vector.
(vect_analyze_data_refs): If gather is unsuccessful,
free_data_ref (dr).
* tree-inline.c (tree_function_versioning): Free
old_transforms_to_apply vector.
From-SVN: r190590
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
-rw-r--r-- | gcc/tree-vect-data-refs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index 4df2e50..4a5624e 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -1,5 +1,5 @@ /* Data References Analysis and Manipulation Utilities for Vectorization. - Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 + Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. Contributed by Dorit Naishlos <dorit@il.ibm.com> and Ira Rosen <irar@il.ibm.com> @@ -1934,10 +1934,9 @@ vect_enhance_data_refs_alignment (loop_vec_info loop_vinfo) gcc_assert (stat); return stat; } - else - VEC_free (stmt_info_for_cost, heap, body_cost_vec); } + VEC_free (stmt_info_for_cost, heap, body_cost_vec); /* (2) Versioning to force alignment. */ @@ -3313,6 +3312,8 @@ vect_analyze_data_refs (loop_vec_info loop_vinfo, gather = false; if (!gather) { + STMT_VINFO_DATA_REF (stmt_info) = NULL; + free_data_ref (dr); if (vect_print_dump_info (REPORT_UNVECTORIZED_LOCATIONS)) { fprintf (vect_dump, |