From 7bdb3ff422f6fee6970ebb1eb895f47b9c7661e5 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 22 Jun 2007 09:16:33 +0000 Subject: [PATCH] fix for my last stack bias fix [r14712] --- ir/be/beabi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ir/be/beabi.c b/ir/be/beabi.c index c40b7643d..d27d18a6f 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -2247,7 +2247,7 @@ static int process_stack_bias(be_abi_irg_t *env, ir_node *bl, int bias) DBG((env->dbg, LEVEL_2, "%F has offset %d (including bias %d)\n", ent, offset, bias)); } - if(omit_fp) { + if(omit_fp || be_is_IncSP(irn)) { /* * If the node modifies the stack pointer by a constant offset, * record that in the bias. @@ -2264,7 +2264,8 @@ static int process_stack_bias(be_abi_irg_t *env, ir_node *bl, int bias) } } - bias += ofs; + if(omit_fp) + bias += ofs; } } -- 2.20.1