diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2006-09-22 08:42:51 -0500 |
---|---|---|
committer | Peter Bergner <bergner@gcc.gnu.org> | 2006-09-22 08:42:51 -0500 |
commit | 2319ffbb7ae57cda5bb19ff0dae37443b71ae3ba (patch) | |
tree | 89fae3801bb369da6e42e4cdadd437d136ff0bbb /gcc/explow.c | |
parent | 2067150ee1180e0114143fe7a110d6dc93a24391 (diff) | |
download | gcc-2319ffbb7ae57cda5bb19ff0dae37443b71ae3ba.tar.gz |
Set REG_POINTER flag according to MEM_POINTER flag.
From-SVN: r117143
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/explow.c b/gcc/explow.c index 2cc34899197..e21e9c112ec 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -710,6 +710,8 @@ force_reg (enum machine_mode mode, rtx x) align = MIN (sa, ca); } + else if (MEM_P (x) && MEM_POINTER (x)) + align = MEM_ALIGN (x); if (align) mark_reg_pointer (temp, align); |