From 3ea2292aa011c2fb500ca48212ad69a6c356e239 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 12 May 2000 11:51:30 -0600 Subject: [PATCH] expr.c (emit_push_insn): Do not adjust stack pointer when preallocating. * expr.c (emit_push_insn): Do not adjust stack pointer when preallocating. From-SVN: r33881 --- gcc/ChangeLog | 5 +++++ gcc/expr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e338eee7a5..d27fe651cd9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fry May 12 20:03:00 CEST 2000 Jan Hubicka + + * expr.c (emit_push_insn): Do not adjust stack pointer when + preallocating. + Fri May 12 19:03:58 2000 Philippe De Muyter * ggc-simple.c (offsetof): Macro fallback definition moved from here .. diff --git a/gcc/expr.c b/gcc/expr.c index 5dace5b12f0..1f915495380 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -3321,7 +3321,7 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra, if (extra && args_addr == 0 && where_pad == stack_direction) anti_adjust_stack (GEN_INT (extra)); - if (alignment_pad) + if (alignment_pad && args_addr == 0) anti_adjust_stack (alignment_pad); } -- 2.30.2