aboutsummaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>2004-03-21 00:08:57 +0100
committerZdenek Dvorak <rakdver@gcc.gnu.org>2004-03-20 23:08:57 +0000
commitf8ad8d7cf8e3c4caf7317900fda3b92f0f7f23b9 (patch)
tree433e408c11da99bc70ed380b6638087bd38c1d32 /gcc/explow.c
parent687c3ea538f70e6a198a11a3999a23b318759e27 (diff)
downloadgcc-f8ad8d7cf8e3c4caf7317900fda3b92f0f7f23b9.zip
gcc-f8ad8d7cf8e3c4caf7317900fda3b92f0f7f23b9.tar.gz
gcc-f8ad8d7cf8e3c4caf7317900fda3b92f0f7f23b9.tar.bz2
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
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 0655f24..b3c82b8 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;
}