]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2002-06-13 David S. Miller <davem@redhat.com>
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jun 2002 09:37:19 +0000 (09:37 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jun 2002 09:37:19 +0000 (09:37 +0000)
* expmed.c (init_expmed): Remove duplicate init of 'reg'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54580 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expmed.c

index 626b0cbdda25b0fd46fbd7b2eeccf2be2c8f0980..8ee0fae53f283fcb61b40ec4714822fd7093dac4 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-13  David S. Miller  <davem@redhat.com>
+
+       * expmed.c (init_expmed): Remove duplicate init of 'reg'.
+
 2002-06-13  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        * cpplib.c (end_directive): Handle line skipping.  Only remove
index 7670f1ce7f431509d73d25c6e04fda2166c4f22e..60e9c2583ea21fb89a21e5d18b6d40187884ec34 100644 (file)
@@ -104,16 +104,15 @@ static int mul_highpart_cost[NUM_MACHINE_MODES];
 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);