aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-12-10 15:06:05 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-12-10 15:06:05 +0000
commita589e68fd0953761128a2194edd3ea7e10feac48 (patch)
tree57e34f6d96bd08eca156dfed1ccf4d4655ecef82 /gcc/function.c
parentb2a485f2b0641e8e3c1c2a8e4fcf5b3864e692c0 (diff)
downloadgcc-a589e68fd0953761128a2194edd3ea7e10feac48.zip
gcc-a589e68fd0953761128a2194edd3ea7e10feac48.tar.gz
gcc-a589e68fd0953761128a2194edd3ea7e10feac48.tar.bz2
Fix -Wmisleading-indentation warning in function.c
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
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/function.c b/gcc/function.c
index b513ead..035a49e 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -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;