OSDN Git Service

* alias.c (can_address_p): No longer static.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Oct 2001 12:55:16 +0000 (12:55 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Oct 2001 12:55:16 +0000 (12:55 +0000)
commit5cc193e778c61020143d5c59dad085b9f5df3d13
tree0f9f09ded135324a3c1a35af13611e762d6e0cf3
parent374284d33a8f75f5b0fe0191d4e5f300f2da96e2
* alias.c (can_address_p): No longer static.
* emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
Return 0 if all parameters are default values.
(set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
(adjust_address_1): Try harder to compute a size.
* expr.c (expand_assignment, store_constructor): If can't address,
set MEM_KEEP_ALIAS_SET_P.
(store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
(store_field): Likewise.
(store_constructor): Simplify call to store_constructor_field.
* expr.h (can_address_p): New declaration.
* gensupport.c (gen_rtx_CONST_INT): New function.
* rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
(MEM_SIZE): Get size from mode, if not set and not BLKmode.
(MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.

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