]> gcc.gnu.org Git - gcc.git/commitdiff
(output_epilog): Fix minor error in instructions used to restore stack
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 10 May 1993 21:36:24 +0000 (17:36 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 10 May 1993 21:36:24 +0000 (17:36 -0400)
pointer.

From-SVN: r4415

gcc/config/alpha/alpha.c

index 13c5e54a2ebb9e2eef1474d7522f50f999111c91..c3a90a66cccb3162dea5ac421841da254a601a82 100644 (file)
@@ -1398,10 +1398,10 @@ output_epilog (file, size)
        fprintf (file, "\tldq $15,%d($30)\n", fp_offset);
 
       /* Now update the stack pointer, if needed.  This must be done in
-        one, styalized, instruction.  */
+        one, stylized, instruction.  */
       if (frame_size > 32768)
        fprintf (file, "\taddq $28,$30,$30\n");
-      else
+      else if (frame_size != 0)
        fprintf (file, "\tlda $30,%d($30)\n", frame_size);
 
       /* Finally return to the caller.  */
This page took 0.068226 seconds and 5 git commands to generate.