This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[m68k] fix for m68k_output_function_epilogue


Hello!

One asm_fprintf statement in m68k_output_function_epilogue() has a missing
argument. The attached patch fixes this bug.

Gunther

-- cut --
2003-10-17  Gunther Nikl  <gni@gecko.de>

	* config/m68k/m68k.c (m68k_output_function_epilogue): add missing
	argument to asm_fprintf statement

--- m68k.c.orig	Fri Oct 17 14:34:54 2003
+++ m68k.c	Fri Oct 17 14:35:34 2003
@@ -849,7 +849,8 @@ m68k_output_function_epilogue (FILE *str
 #else
 		asm_fprintf (stream, "\tmovel %s@(-%wd,%Ra1:l),%s\n",
 			     reg_names[FRAME_POINTER_REGNUM],
-			     offset);
+			     offset,
+			     reg_names[i]);
 #endif
 	      }
             else if (restore_from_sp)
-- cut --


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]