OSDN Git Service

* arm.c (arm_addimm_operand): MODE arguemnt is unused.
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Oct 2003 13:22:14 +0000 (13:22 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Oct 2003 13:22:14 +0000 (13:22 +0000)
* arm.md (cbranchne_decr1): Fix bootstrap warning.

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

gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.md

index a3da592..6455332 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-14  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.c (arm_addimm_operand): MODE arguemnt is unused.
+       * arm.md (cbranchne_decr1): Fix bootstrap warning.
+
 2003-10-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * fixinc/inclhack.def (alpha_pthread_gcc): New fix.
index 298ad3e..d338e00 100644 (file)
@@ -3752,7 +3752,7 @@ arm_add_operand (rtx op, enum machine_mode mode)
 
 /* Return TRUE for valid ARM constants (or when valid if negated).  */
 int
-arm_addimm_operand (rtx op, enum machine_mode mode)
+arm_addimm_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
 {
   return (GET_CODE (op) == CONST_INT
          && (const_ok_for_arm (INTVAL (op))
index 7ef928e..502b8d2 100644 (file)
      switch (get_attr_length (insn) - (which_alternative ? 2 : 0))
        {
         case 4:
-          output_asm_insn (\"b%d0\\t%l1\", &cond);
+          output_asm_insn (\"b%d0\\t%l1\", cond);
           return \"\";
         case 6:
-          output_asm_insn (\"b%D0\\t.LCB%=\", &cond);
+          output_asm_insn (\"b%D0\\t.LCB%=\", cond);
           return \"b\\t%l4\\t%@long jump\\n.LCB%=:\";
         default:
-          output_asm_insn (\"b%D0\\t.LCB%=\", &cond);
+          output_asm_insn (\"b%D0\\t.LCB%=\", cond);
           return \"bl\\t%l4\\t%@far jump\\n.LCB%=:\";
        }
    }