+2015-06-30 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/66704
+ * tree-vect-data-refs.c (vect_setup_realignment): Use
+ make_ssa_name for non-SSA name source.
+
2015-06-30 Jakub Jelinek <jakub@redhat.com>
PR middle-end/66702
ptr = vect_create_data_ref_ptr (stmt, vectype, loop_for_initial_load,
NULL_TREE, &init_addr, NULL, &inc,
true, &inv_p);
- new_temp = copy_ssa_name (ptr);
+ if (TREE_CODE (ptr) == SSA_NAME)
+ new_temp = copy_ssa_name (ptr);
+ else
+ new_temp = make_ssa_name (TREE_TYPE (ptr));
new_stmt = gimple_build_assign
(new_temp, BIT_AND_EXPR, ptr,
build_int_cst (TREE_TYPE (ptr),