aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-transform.c
diff options
context:
space:
mode:
authorDorit Nuzman <dorit@il.ibm.com>2006-08-10 12:07:22 +0000
committerDorit Nuzman <dorit@gcc.gnu.org>2006-08-10 12:07:22 +0000
commitcc0968b01cb62e4f843bb0d3c16a62454b94a4c4 (patch)
tree48285f9f7c641d9cc4879127dc49ff7ea3d12d07 /gcc/tree-vect-transform.c
parent22a8ed6556f9d57d93f43b60da5198136890f9c7 (diff)
downloadgcc-cc0968b01cb62e4f843bb0d3c16a62454b94a4c4.zip
gcc-cc0968b01cb62e4f843bb0d3c16a62454b94a4c4.tar.gz
gcc-cc0968b01cb62e4f843bb0d3c16a62454b94a4c4.tar.bz2
re PR tree-optimization/26197 (ICE in is_old_name with vectorizer)
PR tree-optimization/26197 * tree-ssa-alias.c (new_type_alias): Takes additional argument. Calls get_ref_base_and_extent and overlap_subvar to add only relevant subvars as may-aliases. (add_may_alias_for_new_tag): New function, factored out of new_type_alias. * tree-vect-transform.c (vect_create_data_ref_ptr): Call new_type_alias with additional argument. * tree-flow.h (new_type_alias): Takes additional argument. From-SVN: r116060
Diffstat (limited to 'gcc/tree-vect-transform.c')
-rw-r--r--gcc/tree-vect-transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c
index 746e906..5f1b2069 100644
--- a/gcc/tree-vect-transform.c
+++ b/gcc/tree-vect-transform.c
@@ -303,7 +303,7 @@ vect_create_data_ref_ptr (tree stmt,
/* If tag is a variable (and NOT_A_TAG) than a new symbol memory
tag must be created with tag added to its may alias list. */
if (!MTAG_P (tag))
- new_type_alias (vect_ptr, tag);
+ new_type_alias (vect_ptr, tag, DR_REF (dr));
else
var_ann (vect_ptr)->symbol_mem_tag = tag;