From f8ad8d7cf8e3c4caf7317900fda3b92f0f7f23b9 Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Sun, 21 Mar 2004 00:08:57 +0100 Subject: emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER flag. * 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. From-SVN: r79764 --- gcc/emit-rtl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/emit-rtl.c') diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 3032b53..6d18b78 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. */ -- cgit v1.1