diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-20 23:08:57 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-20 23:08:57 +0000 |
commit | 8d350e6934aee72125f29883e3cde2fb09fd2f41 (patch) | |
tree | 433e408c11da99bc70ed380b6638087bd38c1d32 /gcc/explow.c | |
parent | bade56161c2261a43b7b6f8f1c09e13e5239dbce (diff) | |
download | gcc-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/explow.c')
-rw-r--r-- | gcc/explow.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/explow.c b/gcc/explow.c index 0655f24ded3..b3c82b836fd 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -770,6 +770,10 @@ force_not_mem (rtx x) return x; temp = gen_reg_rtx (GET_MODE (x)); + + if (MEM_POINTER (x)) + REG_POINTER (temp) = 1; + emit_move_insn (temp, x); return temp; } |