From patchwork Mon Jul 5 09:20:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [ARM,committed] Fix PR 44820 Date: Sun, 04 Jul 2010 23:20:26 -0000 From: Jie Zhang X-Patchwork-Id: 57882 Message-Id: <4C31A3DA.6020202@codesourcery.com> To: gcc-patches@gcc.gnu.org Cc: mikpe@it.uu.se 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! gcc/ 2010-07-05 Mikael Pettersson 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 (...))). */