summaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-20 23:08:57 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-20 23:08:57 +0000
commit8d350e6934aee72125f29883e3cde2fb09fd2f41 (patch)
tree433e408c11da99bc70ed380b6638087bd38c1d32 /gcc/emit-rtl.c
parentbade56161c2261a43b7b6f8f1c09e13e5239dbce (diff)
downloadgcc-8d350e6934aee72125f29883e3cde2fb09fd2f41.tar.gz
* emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER
flag. * explow.c (force_not_mem): Set REG_POINTER flag according to MEM_POINTER one. * rtl.h (MEM_POINTER): New macro. (struct rtx_def): Use integrated for MEM_SCALAR_P and frame_related for MEM_POINTER. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79764 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 3032b539e29..6d18b782094 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -1512,6 +1512,7 @@ set_mem_attributes_minus_bitpos (rtx ref, tree t, int objectp,
|= ((lang_hooks.honor_readonly
&& (TYPE_READONLY (type) || TREE_READONLY (t)))
|| (! TYPE_P (t) && TREE_CONSTANT (t)));
+ MEM_POINTER (ref) = POINTER_TYPE_P (type);
/* If we are making an object of this type, or if this is a DECL, we know
that it is a scalar if the type is not an aggregate. */