aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/explow.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 311f26b..190d387 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-22 Peter Bergner <bergner@vnet.ibm.com>
+
+ PR middle-end/28690
+ * explow.c (force_reg): Set REG_POINTER flag according to
+ MEM_POINTER flag.
+
2006-09-22 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/28888
diff --git a/gcc/explow.c b/gcc/explow.c
index 2cc3489..e21e9c1 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);