gcc/
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 19 Jul 2011 17:42:48 +0000 (17:42 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 19 Jul 2011 17:42:48 +0000 (17:42 +0000)
commit1c3f523e1c52ec1f2777978b7838f44a5fb04d2c
tree817bf84e56ee95f3c64cf50deab2152c969fc22f
parent37457866673a1ed44cec3395459dc0c4f0135da2
gcc/
* rtl.h (MEM_ALIAS_SET, MEM_EXPR, MEM_OFFSET, MEM_ADDR_SPACE)
(MEM_SIZE, MEM_ALIGN): Redefine in terms of get_mem_attrs.
Provide a dummy definition of MEM_ADDR_SPACE for generators.
(target_rtl): Add x_mode_mem_attrs.
(mode_mem_attrs): New macro.
(get_mem_attrs): New function.
* emit-rtl.c (get_mem_attrs): Rename to...
(find_mem_attrs): ...this.
(set_mem_attributes_minus_bitpos, set_mem_alias_set)
(set_mem_addr_space, set_mem_align, set_mem_expr, set_mem_offset)
(set_mem_size, change_address, adjust_address_1, offset_address)
(widen_memory_access, get_spill_slot_decl, set_mem_attrs_for_spill):
Update accordingly.
(init_emit_regs): Initialize mode_mem_attrs.

From-SVN: r176474
gcc/ChangeLog
gcc/emit-rtl.c
gcc/rtl.h