OSDN Git Service

* reload1.c (alter_reg): Add missing curly braces.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Sep 2008 16:20:21 +0000 (16:20 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Sep 2008 16:20:21 +0000 (16:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140758 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/reload1.c

index 0dea08b..7eff816 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-11  Jeff Law <law@redhat.com>
+
+       * reload1.c (alter_reg): Add missing curly braces.
+
 2008-09-29  Michael J. Eager  <eager@eagercon.com>
 
        * config/rs6000/predicates.md (easy_fp_constant): Single FP consts
index 93457c1..684f859 100644 (file)
@@ -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);