Remove unneeded casts to char *.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 12 Dec 1996 12:56:00 +0000 (07:56 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 12 Dec 1996 12:56:00 +0000 (07:56 -0500)
From-SVN: r13292

gcc/config/1750a/1750a.md

index 2f4e75bfb494fe97e38c6238eb6846d6c1312542..fb7c7bfa5311390d15fa20d26bfb785cd82e5c3f 100644 (file)
   "*
    {
      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);
    } ")
 
 
           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:
          istr = \"dv  \";
          break;
       }
-      return (char *)mod_regno_adjust(istr,operands);
+      return mod_regno_adjust (istr, operands);
      }")
 
 ;; Division for other types is straightforward.
                       (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"
                       (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"
                       (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"
                       (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"
                       (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"
                       (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]));
   ")
 
 
                       (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 ""
                       (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 ""
                       (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 ""
                       (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 ""
                       (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 ""
                       (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]));
   ")