PR tree-opt/66768
* tree-ssa-address.c (create_mem_ref_raw): Use a pointer of
the correct type for the base.
From-SVN: r229997
+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;
}