OSDN Git Service

* config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jan 2003 04:25:58 +0000 (04:25 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Jan 2003 04:25:58 +0000 (04:25 +0000)
(h8300_expand_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60978 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 416dae7..a8d9d24 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
+       (h8300_expand_epilogue): Likewise.
+
 2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
 
        Segher Boessenkool  <segher@koffie.nl>
 
        * config/mips/mips.md (leadi): Use dla rather than la.
 
-2003-01-06  Svein E. Seldal <Svein.Seldal@solidas.com>
+2003-01-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
 
        * config/c4x/c4x.h: Updated specs for new gas format.  Fixed bug
        in C33_FLAG.  Added proper C33 support in ASM_FILE_START macro.
 
-2003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
+2003-01-06 Herman A.J. ten Brugge  <hermantenbrugge@home.nl>
 
        * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
        redefinition.
index 8bc9bfc..0fa5403 100644 (file)
@@ -502,7 +502,6 @@ pop (rn)
 void
 h8300_expand_prologue ()
 {
-  int fsize = round_frame_size (get_frame_size ());
   int regno;
   int saved_regs;
   int n_regs;
@@ -526,7 +525,7 @@ h8300_expand_prologue ()
     }
 
   /* Leave room for locals.  */
-  dosize (-1, fsize);
+  dosize (-1, round_frame_size (get_frame_size ()));
 
   /* Push the rest of the registers in ascending order.  */
   saved_regs = compute_saved_regs ();
@@ -592,7 +591,6 @@ h8300_can_use_return_insn_p ()
 void
 h8300_expand_epilogue ()
 {
-  int fsize = round_frame_size (get_frame_size ());
   int regno;
   int saved_regs;
   int n_regs;
@@ -652,7 +650,7 @@ h8300_expand_epilogue ()
     }
 
   /* Deallocate locals.  */
-  dosize (1, fsize);
+  dosize (1, round_frame_size (get_frame_size ()));
 
   /* Pop frame pointer if we had one.  */
   if (frame_pointer_needed)