diff options
author | Paul Brook <paul@codesourcery.com> | 2004-04-20 11:28:08 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-04-20 11:28:08 +0000 |
commit | 7aebacee26b0b9f43a246e94c91ca99a150700b0 (patch) | |
tree | 1c662ce4530871bfdb23ea04b98587ad7c1efa16 | |
parent | 23f0ecff4a6e9c554e4ddddf59d022e632810a72 (diff) | |
download | gcc-7aebacee26b0b9f43a246e94c91ca99a150700b0.zip gcc-7aebacee26b0b9f43a246e94c91ca99a150700b0.tar.gz gcc-7aebacee26b0b9f43a246e94c91ca99a150700b0.tar.bz2 |
* config/arm/arm.c (arm_expand_prologue): Fix size calculation.
From-SVN: r80895
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61256fe..4ac809b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-04-20 Paul Brook <paul@codesourcery.com> + + * config/arm/arm.c (arm_expand_prologue): Fix size calculation. + 2004-04-20 Paolo Bonzini <bonzini@gnu.org> Revert part of 2004-04-17 change that moved -frename-registers diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 6f340df..9bd88b9 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -10390,7 +10390,7 @@ arm_expand_prologue (void) { insn = emit_sfm (reg + 1, start_reg - reg); RTX_FRAME_RELATED_P (insn) = 1; - saved_regs += (reg - start_reg) * 12; + saved_regs += (start_reg - reg) * 12; } start_reg = reg - 1; } @@ -10399,7 +10399,7 @@ arm_expand_prologue (void) if (start_reg != reg) { insn = emit_sfm (reg + 1, start_reg - reg); - saved_regs += (reg - start_reg) * 12; + saved_regs += (start_reg - reg) * 12; RTX_FRAME_RELATED_P (insn) = 1; } } |