From 6b5676ce6e62245d2ecf954fefad122b5c47476d Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 29 Sep 2008 10:20:21 -0600 Subject: reload1.c (alter_reg): Add missing curly braces. * reload1.c (alter_reg): Add missing curly braces. From-SVN: r140758 --- gcc/reload1.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'gcc/reload1.c') diff --git a/gcc/reload1.c b/gcc/reload1.c index 93457c1..684f859 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); -- cgit v1.1