diff options
author | David S. Miller <davem@redhat.com> | 2002-06-13 02:37:19 -0700 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2002-06-13 02:37:19 -0700 |
commit | 2acf0fa92efaabede6cee1b5ff4732b4c325043c (patch) | |
tree | 4c14be98198f48c7b7917262153912db12988091 | |
parent | e4c3fb49fdafa566990b83a8a7e786b9534fcf86 (diff) | |
download | gcc-2acf0fa92efaabede6cee1b5ff4732b4c325043c.tar.gz |
expmed.c (init_expmed): Remove duplicate init of 'reg'.
2002-06-13 David S. Miller <davem@redhat.com>
* expmed.c (init_expmed): Remove duplicate init of 'reg'.
From-SVN: r54580
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/expmed.c | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 626b0cbdda2..8ee0fae53f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/expmed.c b/gcc/expmed.c index 7670f1ce7f4..60e9c2583ea 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -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); |