OSDN Git Service

* config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Aug 2006 10:15:33 +0000 (10:15 +0000)
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Aug 2006 10:15:33 +0000 (10:15 +0000)
string.  Whitespace and comment fixup.

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

gcc/ChangeLog
gcc/config/m68k/m68k.c

index 4ac1f1f..e1156df 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-06  Andreas Schwab  <schwab@suse.de>
+
+       * config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
+       string.  Whitespace and comment fixup.
+
 2006-08-05  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
 
        PR c/28502
index 7b3a8ed..af3a03f 100644 (file)
@@ -1006,26 +1006,26 @@ m68k_output_function_epilogue (FILE *stream,
            {
              int offset;
 
-             /* stack already has registers in it.  Find the offset from
-                the bottom of stack to where the FP registers go */
+             /* Stack already has registers in it.  Find the offset from
+                the bottom of stack to where the FP registers go */
              if (current_frame.reg_no <= 2)
                offset = 0;
              else
                offset = current_frame.reg_no * 4;
              if (offset)
-                asm_fprintf (stream,
-                            "\tfmovem %Rsp@(%wd), %I0x%x\n",
+               asm_fprintf (stream,
+                            "\tfmovem %Rsp@(%d), %I0x%x\n",
                             offset, current_frame.fpu_rev_mask);
              else
-                asm_fprintf (stream,
+               asm_fprintf (stream,
                             "\tfmovem %Rsp@, %I0x%x\n",
                             current_frame.fpu_rev_mask);
            }
-          else
-                 asm_fprintf (stream, MOTOROLA ?
-                              "\tfmovm (%Rsp)+,%I0x%x\n" :
-                              "\tfmovem %Rsp@+,%I0x%x\n",
-                              current_frame.fpu_rev_mask);
+         else
+           asm_fprintf (stream, MOTOROLA ?
+                        "\tfmovm (%Rsp)+,%I0x%x\n" :
+                        "\tfmovem %Rsp@+,%I0x%x\n",
+                        current_frame.fpu_rev_mask);
        }
       else
        {