diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-12-12 07:56:00 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-12-12 07:56:00 -0500 |
commit | ea55c5c6ee270e07e676270be5c216678ad3149f (patch) | |
tree | 2dce61235c95ca2cd36ebef9f83478fd4f8b90e3 /gcc | |
parent | 94339136a385182905f44ba2b971ba1da0dd7824 (diff) | |
download | gcc-ea55c5c6ee270e07e676270be5c216678ad3149f.zip gcc-ea55c5c6ee270e07e676270be5c216678ad3149f.tar.gz gcc-ea55c5c6ee270e07e676270be5c216678ad3149f.tar.bz2 |
Remove unneeded casts to char *.
From-SVN: r13292
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/1750a/1750a.md | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/gcc/config/1750a/1750a.md b/gcc/config/1750a/1750a.md index 2f4e75b..fb7c7bf 100644 --- a/gcc/config/1750a/1750a.md +++ b/gcc/config/1750a/1750a.md @@ -188,10 +188,12 @@ "* { rtx regops[3]; - regops[0] = XEXP(operands[0],0); - regops[1] = XEXP(operands[1],0); + + regops[0] = XEXP (operands[0], 0); + regops[1] = XEXP (operands[1], 0); regops[2] = operands[2]; - return (char *)movcnt_regno_adjust(regops); + + return movcnt_regno_adjust (regops); } ") @@ -708,7 +710,7 @@ new_opnds[2] = gen_rtx (CONST_INT, VOIDmode, -INTVAL(operands[2])); new_opnds[3] = operands[3]; istr = \"disn\"; - return (char *)mod_regno_adjust(istr,new_opnds); + return mod_regno_adjust (istr, new_opnds); } break; case 2: @@ -721,7 +723,7 @@ istr = \"dv \"; break; } - return (char *)mod_regno_adjust(istr,operands); + return mod_regno_adjust (istr, operands); }") ;; Division for other types is straightforward. @@ -1150,7 +1152,7 @@ (label_ref (match_operand 0 "" "")) (pc)))] "" - "* return (char *)branch_or_jump(\"ez\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"ez\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "bne" @@ -1160,7 +1162,7 @@ (label_ref (match_operand 0 "" "")) (pc)))] "" - "* return (char *)branch_or_jump(\"nz\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"nz\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "bgt" @@ -1170,7 +1172,7 @@ (label_ref (match_operand 0 "" "")) (pc)))] "" - "* return (char *)branch_or_jump(\"gt\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"gt\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "blt" @@ -1180,7 +1182,7 @@ (label_ref (match_operand 0 "" "")) (pc)))] "" - "* return (char *)branch_or_jump(\"lt\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"lt\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "bge" @@ -1190,7 +1192,7 @@ (label_ref (match_operand 0 "" "")) (pc)))] "" - "* return (char *)branch_or_jump(\"ge\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"ge\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "ble" @@ -1200,7 +1202,7 @@ (label_ref (match_operand 0 "" "")) (pc)))] "" - "* return (char *)branch_or_jump(\"le\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"le\", CODE_LABEL_NUMBER (operands[0])); ") @@ -1252,7 +1254,7 @@ (pc) (label_ref (match_operand 0 "" ""))))] "" - "* return (char *)branch_or_jump(\"nz\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"nz\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "" @@ -1262,7 +1264,7 @@ (pc) (label_ref (match_operand 0 "" ""))))] "" - "* return (char *)branch_or_jump(\"ez\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"ez\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "" @@ -1272,7 +1274,7 @@ (pc) (label_ref (match_operand 0 "" ""))))] "" - "* return (char *)branch_or_jump(\"le\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"le\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "" @@ -1282,7 +1284,7 @@ (pc) (label_ref (match_operand 0 "" ""))))] "" - "* return (char *)branch_or_jump(\"ge\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"ge\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "" @@ -1292,7 +1294,7 @@ (pc) (label_ref (match_operand 0 "" ""))))] "" - "* return (char *)branch_or_jump(\"lt\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"lt\", CODE_LABEL_NUMBER (operands[0])); ") (define_insn "" @@ -1302,7 +1304,7 @@ (pc) (label_ref (match_operand 0 "" ""))))] "" - "* return (char *)branch_or_jump(\"gt\",CODE_LABEL_NUMBER(operands[0])); + "* return branch_or_jump (\"gt\", CODE_LABEL_NUMBER (operands[0])); ") |