* config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs.
authorPaul Brook <paul@codesourcery.com>
Tue, 27 Apr 2004 10:23:32 +0000 (10:23 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Tue, 27 Apr 2004 10:23:32 +0000 (10:23 +0000)
From-SVN: r81216

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;
                    }
                }