aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCatherine Moore <clm@gcc.gnu.org>1999-10-29 14:49:29 -0400
committerCatherine Moore <clm@gcc.gnu.org>1999-10-29 14:49:29 -0400
commitfbb57b2a94142faf4e2c2791ed5cffdd5a732c14 (patch)
tree34fabed872898cc90bc1b6bb1628ccfcf1f09a8c /gcc
parente03c5670a94ef91893c16ceee54eb12d469b7d95 (diff)
downloadgcc-fbb57b2a94142faf4e2c2791ed5cffdd5a732c14.zip
gcc-fbb57b2a94142faf4e2c2791ed5cffdd5a732c14.tar.gz
gcc-fbb57b2a94142faf4e2c2791ed5cffdd5a732c14.tar.bz2
Fix up last patch.
From-SVN: r30265
Diffstat (limited to 'gcc')
-rw-r--r--gcc/calls.c2
-rw-r--r--gcc/function.c12
2 files changed, 8 insertions, 6 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index b17d197..6435a1f 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -2581,6 +2581,7 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode,
rtx fun;
int inc;
int count;
+ struct args_size alignment_pad;
rtx argblock = 0;
CUMULATIVE_ARGS args_so_far;
struct arg { rtx value; enum machine_mode mode; rtx reg; int partial;
@@ -3643,7 +3644,6 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
highest_outgoing_arg_in_use = initial_highest_arg_in_use;
stack_usage_map = initial_stack_usage_map;
#endif
- struct args_size alignment_pad;
return value;
}
diff --git a/gcc/function.c b/gcc/function.c
index fe1b5ee..f6f5d88 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5008,14 +5008,16 @@ pad_to_arg_alignment (offset_ptr, boundary, alignment_pad)
alignment_pad->var = size_binop (MINUS_EXPR, offset_ptr->var, save_var);
}
else
- offset_ptr->constant =
+ {
+ offset_ptr->constant =
#ifdef ARGS_GROW_DOWNWARD
- FLOOR_ROUND (offset_ptr->constant, boundary_in_bytes);
+ FLOOR_ROUND (offset_ptr->constant, boundary_in_bytes);
#else
- CEIL_ROUND (offset_ptr->constant, boundary_in_bytes);
+ CEIL_ROUND (offset_ptr->constant, boundary_in_bytes);
#endif
- if (boundary > PARM_BOUNDARY)
- alignment_pad->constant = offset_ptr->constant - save_constant;
+ if (boundary > PARM_BOUNDARY)
+ alignment_pad->constant = offset_ptr->constant - save_constant;
+ }
}
}