aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-10-25 12:55:16 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-10-25 08:55:16 -0400
commit10b76d739543e54113cdb8755ba624c03bae4239 (patch)
tree0f9f09ded135324a3c1a35af13611e762d6e0cf3 /gcc/expr.h
parent9fb60a0d1a7af546cce200d38315019b1e026a89 (diff)
downloadgcc-10b76d739543e54113cdb8755ba624c03bae4239.zip
gcc-10b76d739543e54113cdb8755ba624c03bae4239.tar.gz
gcc-10b76d739543e54113cdb8755ba624c03bae4239.tar.bz2
alias.c (can_address_p): No longer static.
* 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. From-SVN: r46487
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 0155611..6680476 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -371,6 +371,7 @@ extern void record_base_value PARAMS ((unsigned int, rtx, int));
extern void record_alias_subset PARAMS ((HOST_WIDE_INT,
HOST_WIDE_INT));
extern HOST_WIDE_INT new_alias_set PARAMS ((void));
+extern int can_address_p PARAMS ((tree));
/* Functions from expr.c: */