diff options
author | Markus Trippelsdorf <markus@trippelsdorf.de> | 2015-04-28 10:09:43 +0000 |
---|---|---|
committer | Markus Trippelsdorf <trippels@gcc.gnu.org> | 2015-04-28 10:09:43 +0000 |
commit | 6b241bd157b04fc2653ee11708f4bc5e8f4f8fba (patch) | |
tree | 5bcb46a7f75c06373ed979521e05458f2ac9756b /gcc/function.c | |
parent | cc86234f0fd7cb444885652683d9ee1a5100b396 (diff) | |
download | gcc-6b241bd157b04fc2653ee11708f4bc5e8f4f8fba.zip gcc-6b241bd157b04fc2653ee11708f4bc5e8f4f8fba.tar.gz gcc-6b241bd157b04fc2653ee11708f4bc5e8f4f8fba.tar.bz2 |
re PR middle-end/65911 (r222508 breaks clang-tblgen)
Fix PR65911
2015-04-28 Markus Trippelsdorf <markus@trippelsdorf.de>
PR other/65911
* function.c (pad_to_arg_alignment): Add parentheses.
From-SVN: r222521
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/function.c b/gcc/function.c index d1a2c0a..af4c087 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4195,9 +4195,9 @@ pad_to_arg_alignment (struct args_size *offset_ptr, int boundary, else { offset_ptr->constant = -sp_offset + - ARGS_GROW_DOWNWARD ? - FLOOR_ROUND (offset_ptr->constant + sp_offset, boundary_in_bytes) : - CEIL_ROUND (offset_ptr->constant + sp_offset, boundary_in_bytes); + (ARGS_GROW_DOWNWARD + ? FLOOR_ROUND (offset_ptr->constant + sp_offset, boundary_in_bytes) + : CEIL_ROUND (offset_ptr->constant + sp_offset, boundary_in_bytes)); if (boundary > PARM_BOUNDARY) alignment_pad->constant = offset_ptr->constant - save_constant; |