diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-12 13:31:51 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-12 13:31:51 +0000 |
commit | 40b93dba3decd72c7e309030ea72afc3a6510e8b (patch) | |
tree | 613cb30af0d923dfeebeed2efa24cf54b24a39f4 /gcc/explow.c | |
parent | 136842562191fa2c03aeaedd37453c09ad3676f8 (diff) | |
download | gcc-40b93dba3decd72c7e309030ea72afc3a6510e8b.tar.gz |
* emit-rtl.c (set_reg_attrs_from_value): Fix invalid alignment
information passed to mark_reg_pointer.
* explow.c (force_reg): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140318 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/explow.c b/gcc/explow.c index a1f76506023..498d40e284e 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -698,10 +698,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) + if (align || (MEM_P (x) && MEM_POINTER (x))) mark_reg_pointer (temp, align); } |