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]

[ARM, committed] Fix PR 44820


One of my last changes caused a GCC bootstrap failure for ARM. Mikael reported it as PR 44820 and kindly attached a patch in the bugzilla. I have committed his patch under the obvious rule. The patch is also attached in this email. Mikael, thanks!


-- Jie Zhang CodeSourcery
gcc/

2010-07-05  Mikael Pettersson  <mikpe@it.uu.se>

	PR bootstrap/44820
	* config/arm/arm.c (arm_attr_length_move_neon): Delete regno.

--- gcc-4.6-20100703/gcc/config/arm/arm.c.~1~	2010-07-03 18:49:05.000000000 +0200
+++ gcc-4.6-20100703/gcc/config/arm/arm.c	2010-07-05 10:34:19.000000000 +0200
@@ -12865,7 +12865,7 @@ int
 arm_attr_length_move_neon (rtx insn)
 {
   rtx reg, mem, addr;
-  int regno, load;
+  int load;
   enum machine_mode mode;
 
   extract_insn_cached (insn);
@@ -12894,7 +12894,6 @@ arm_attr_length_move_neon (rtx insn)
   gcc_assert (MEM_P (mem));
 
   mode = GET_MODE (reg);
-  regno = REGNO (reg);
   addr = XEXP (mem, 0);
 
   /* Strip off const from addresses like (const (plus (...))).  */

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