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]

PATCH COMMITTED: Add missing tab in arm.c


There was a tab missing in this line in output_call_mem() in arm.c:
	output_asm_insn ("blx%?%|ip", operands);
Here %? is the condition and %| is the register prefix, so this
truction could easily generate "blxip", which should be "blx ip".

I have committed this patch as obvious.

Ian


2004-10-02  Ian Lance Taylor  <ian@wasabisystems.com>

	* arm.c (output_call_mem): Add missing \t.


Index: config/arm/arm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.c,v
retrieving revision 1.408
diff -p -u -r1.408 arm.c
--- config/arm/arm.c	1 Oct 2004 15:55:21 -0000	1.408
+++ config/arm/arm.c	3 Oct 2004 03:01:46 -0000
@@ -7697,7 +7697,7 @@ output_call_mem (rtx *operands)
 	 load since the call will kill it anyway.  */
       output_asm_insn ("ldr%?\t%|ip, %0", operands);
       if (arm_arch5)
-	output_asm_insn ("blx%?%|ip", operands);
+	output_asm_insn ("blx%?\t%|ip", operands);
       else
 	{
 	  output_asm_insn ("mov%?\t%|lr, %|pc", operands);


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