This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
expmed small fix
- From: "David S. Miller" <davem at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 13 Jun 2002 02:33:22 -0700 (PDT)
- Subject: expmed small fix
Noticed while tracking throw-away RTL allocations...
Installed on mainline.
2002-06-13 David S. Miller <davem@redhat.com>
* expmed.c (init_expmed): Remove duplicate init of 'reg'.
--- expmed.c.~1~ Tue Jun 4 14:06:19 2002
+++ expmed.c Thu Jun 13 02:31:45 2002
@@ -104,16 +104,15 @@ static int mul_highpart_cost[NUM_MACHINE
void
init_expmed ()
{
- /* This is "some random pseudo register" for purposes of calling recog
- to see what insns exist. */
- rtx reg = gen_rtx_REG (word_mode, 10000);
- rtx shift_insn, shiftadd_insn, shiftsub_insn;
+ rtx reg, shift_insn, shiftadd_insn, shiftsub_insn;
int dummy;
int m;
enum machine_mode mode, wider_mode;
start_sequence ();
+ /* This is "some random pseudo register" for purposes of calling recog
+ to see what insns exist. */
reg = gen_rtx_REG (word_mode, 10000);
zero_cost = rtx_cost (const0_rtx, 0);