* config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs.
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2004 10:23:32 +0000 (10:23 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2004 10:23:32 +0000 (10:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81216 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.c

index d6e0148..7bbe11a 100644 (file)
@@ -1,3 +1,7 @@
+2004-04-27  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs.
+
 2004-04-26  Bernard Giroud  <bgiroud@free.fr>
 
        * config/alpha.c (alpha_end_function): For OpenVMS gas,
index e49692c..80b1f9e 100644 (file)
@@ -10380,6 +10380,7 @@ arm_expand_prologue (void)
                    {
                      insn = emit_sfm (reg, 4);
                      RTX_FRAME_RELATED_P (insn) = 1;
+                     saved_regs += 48;
                      start_reg = reg - 1;
                    }
                }