Commit f0ebde5a by Richard Henderson Committed by Richard Henderson

re PR tree-optimization/66768 (address space gets lost on literal pointer)

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
parent d2e2feaa
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> 2015-11-09 Jeff Law <law@redhat.com>
* tree-into-ssa.c (names_to_release): No longer static. * tree-into-ssa.c (names_to_release): No longer static.
...@@ -377,7 +377,7 @@ create_mem_ref_raw (tree type, tree alias_ptr_type, struct mem_address *addr, ...@@ -377,7 +377,7 @@ create_mem_ref_raw (tree type, tree alias_ptr_type, struct mem_address *addr,
} }
else else
{ {
base = build_int_cst (ptr_type_node, 0); base = build_int_cst (build_pointer_type (type), 0);
index2 = addr->base; index2 = addr->base;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment