aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/expr.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1e338ee..d27fe65 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Fry May 12 20:03:00 CEST 2000 Jan Hubicka <jh@suse.cz>
+
+ * expr.c (emit_push_insn): Do not adjust stack pointer when
+ preallocating.
+
Fri May 12 19:03:58 2000 Philippe De Muyter <phdm@macqel.be>
* ggc-simple.c (offsetof): Macro fallback definition moved from here ..
diff --git a/gcc/expr.c b/gcc/expr.c
index 5dace5b..1f91549 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);
}