mips-protos.h (mips_output_conditional_branch): Const-ify.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 12 Nov 2001 22:57:52 +0000 (22:57 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 12 Nov 2001 22:57:52 +0000 (22:57 +0000)
* mips-protos.h (mips_output_conditional_branch): Const-ify.
* mips.c (mips_output_conditional_branch): Likewise.

From-SVN: r46967

gcc/ChangeLog
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c

index 91e86f25a5b83ae3ac9f37c7eeee69cee00c3464..45977001bea8b2876841ebc6df428fcadd01d0a8 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * mips-protos.h (mips_output_conditional_branch): Const-ify.
+       * mips.c (mips_output_conditional_branch): Likewise.
+
 2001-11-12  Kazu Hirata  <kazu@hxi.com>
 
        * config/h8300/h8300.c (shift_alg_si): Use special code for
index 0dcfca582f38d4bc514b8892b41208663cba7084..56dcd3a74622614167dd28f1aee126efb65dff52 100644 (file)
@@ -105,9 +105,9 @@ extern int          mips16_gp_offset_p PARAMS ((rtx));
 extern int             mips16_constant PARAMS ((rtx, enum machine_mode,
                                                 int, int));
 extern int             build_mips16_call_stub PARAMS ((rtx, rtx, rtx, int));
-extern char           *mips_output_conditional_branch PARAMS ((rtx, rtx *,
-                                                               int, int, int,
-                                                               int));
+extern const char       *mips_output_conditional_branch PARAMS ((rtx, rtx *,
+                                                                int, int, int,
+                                                                int));
 extern int              mips_adjust_insn_length PARAMS ((rtx, int));
 extern enum reg_class  mips_secondary_reload_class PARAMS ((enum reg_class,
                                                             enum machine_mode,
index dedad2eac2c87d27f6fd242451f86e927497cebc..80f35c3e804a6ef6f2028ae468d11617c292edc7 100644 (file)
@@ -9557,7 +9557,7 @@ mips_adjust_insn_length (insn, length)
    LENGTH is the length (in bytes) of the sequence we are to generate.
    That tells us whether to generate a simple conditional branch, or a
    reversed conditional branch around a `jr' instruction.  */
-char *
+const char *
 mips_output_conditional_branch (insn,
                                operands,
                                two_operands_p,