* tree-ssa-address.c (create_mem_ref_raw): Use a pointer of
the correct type for the base.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229997
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-11-09 Richard Henderson <rth@redhat.com>
+
+ PR tree-opt/66768
+ * tree-ssa-address.c (create_mem_ref_raw): Use a pointer of
+ the correct type for the base.
+
2015-11-09 Jeff Law <law@redhat.com>
* tree-into-ssa.c (names_to_release): No longer static.
}
else
{
- base = build_int_cst (ptr_type_node, 0);
+ base = build_int_cst (build_pointer_type (type), 0);
index2 = addr->base;
}