* rtl.h (mem_attrs): Rename decl to expr; adjust all users.
commitb10dbbca9b7e1ebe6ffac08718324bc744ecf845
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Dec 2001 19:04:23 +0000 (2 19:04 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Dec 2001 19:04:23 +0000 (2 19:04 +0000)
tree7dcf60eaed1d63b62946ca9c11cf34b2d9ceaa21
parentb1be45ef7362e013bb1560a7cd2374fdde315795
    * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
        (MEM_EXPR): Rename from MEM_DECL; adjust all users.
        * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
        * expr.h, final.c, reload1.c: Adjust users.

        * alias.c (nonoverlapping_component_refs_p): New.
        (decl_for_component_ref, adjust_offset_for_component_ref): New.
        (nonoverlapping_memrefs_p): Use them.
        * emit-rtl.c (component_ref_for_mem_expr): New.
        (set_mem_attributes): Use it.
        (set_mem_offset): New.
        * expr.c (expand_assignment): Call set_mem_attributes for
        inner references; adjust the memory offset as needed.
        * print-rtl.c (print_mem_expr): New.
        (print_rtx): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47534 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/alias.c
gcc/emit-rtl.c
gcc/expr.c
gcc/expr.h
gcc/final.c
gcc/print-rtl.c
gcc/reload1.c
gcc/rtl.h