diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-29 16:20:21 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-29 16:20:21 +0000 |
commit | 95091c079182f509ea1c63304032802ded32ea6b (patch) | |
tree | 31b5678a0d9371bebabd5e79ea70ec8bf5a3bb1f /gcc/reload1.c | |
parent | 3f5debcf6540f9a504c03d94cecba1e8e2c4b09d (diff) | |
download | gcc-95091c079182f509ea1c63304032802ded32ea6b.tar.gz |
* reload1.c (alter_reg): Add missing curly braces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140758 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 93457c162c0..684f8596c80 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -2187,17 +2187,19 @@ alter_reg (int i, int from_reg, bool dont_share_p) stack_slot = x; if (BYTES_BIG_ENDIAN) - /* Cancel the big-endian correction done in assign_stack_local. - Get the address of the beginning of the slot. - This is so we can do a big-endian correction unconditionally - below. */ - adjust = inherent_size - total_size; - if (adjust) - stack_slot - = adjust_address_nv (x, mode_for_size (total_size - * BITS_PER_UNIT, - MODE_INT, 1), - adjust); + { + /* Cancel the big-endian correction done in assign_stack_local. + Get the address of the beginning of the slot. + This is so we can do a big-endian correction unconditionally + below. */ + adjust = inherent_size - total_size; + if (adjust) + stack_slot + = adjust_address_nv (x, mode_for_size (total_size + * BITS_PER_UNIT, + MODE_INT, 1), + adjust); + } /* Nothing can alias this slot except this pseudo. */ set_mem_alias_set (x, alias_set); |