summaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-06-13 02:37:19 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-06-13 02:37:19 -0700
commit2acf0fa92efaabede6cee1b5ff4732b4c325043c (patch)
tree4c14be98198f48c7b7917262153912db12988091 /gcc/expmed.c
parente4c3fb49fdafa566990b83a8a7e786b9534fcf86 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c7
1 files changed, 3 insertions, 4 deletions
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);