Fix -Wmisleading-indentation warning in function.c
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 10 Dec 2015 15:06:05 +0000 (15:06 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 10 Dec 2015 15:06:05 +0000 (15:06 +0000)
Fix this warning:
../../../src/gcc/function.c: In function ‘void locate_and_pad_parm(machine_mode, tree, int, int, int, tree, args_size*, locate_and_pad_arg_data*)’:
../../../src/gcc/function.c:4123:2: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
  {
  ^
../../../src/gcc/function.c:4119:7: note: ...this ‘if’ clause, but it is not
       if (initial_offset_ptr->var)
       ^

gcc/ChangeLog:
* function.c (locate_and_pad_parm): Fix indentation.

From-SVN: r231518

gcc/ChangeLog
gcc/function.c

index 5e166f1..bc0f543 100644 (file)
@@ -1,3 +1,7 @@
+2015-12-10  David Malcolm  <dmalcolm@redhat.com>
+
+       * function.c (locate_and_pad_parm): Fix indentation.
+
 2015-12-10  Richard Biener  <rguenther@suse.de>
 
        * tree-ssa-structalias.c (struct variable_info): Add
index b513ead..035a49e 100644 (file)
@@ -4181,14 +4181,14 @@ locate_and_pad_parm (machine_mode passed_mode, tree type, int in_regs,
        locate->slot_offset.var = size_binop (MINUS_EXPR, ssize_int (0),
                                              initial_offset_ptr->var);
 
-       {
-         tree s2 = sizetree;
-         if (where_pad != none
-             && (!tree_fits_uhwi_p (sizetree)
-                 || (tree_to_uhwi (sizetree) * BITS_PER_UNIT) % round_boundary))
-           s2 = round_up (s2, round_boundary / BITS_PER_UNIT);
-         SUB_PARM_SIZE (locate->slot_offset, s2);
-       }
+      {
+       tree s2 = sizetree;
+       if (where_pad != none
+           && (!tree_fits_uhwi_p (sizetree)
+               || (tree_to_uhwi (sizetree) * BITS_PER_UNIT) % round_boundary))
+         s2 = round_up (s2, round_boundary / BITS_PER_UNIT);
+       SUB_PARM_SIZE (locate->slot_offset, s2);
+      }
 
       locate->slot_offset.constant += part_size_in_regs;