OSDN Git Service

* config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2000 16:20:23 +0000 (16:20 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2000 16:20:23 +0000 (16:20 +0000)
        Constify char * return value.
        * config/pa/pa/pa.c
        (output_64bit_and, output_64bit_ior): Constify char * return value.
        (pa_can_combine_p): Make static.
        (function_arg): Decorate unused `named' argument. Fix comment typo.
        (function_arg_partial_nregs): Decorate unused `named' argument.

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

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

index f163b62..7ae4380 100644 (file)
@@ -1,3 +1,13 @@
+2000-10-16  Rodney Brown  <RodneyBrown@mynd.com>
+
+       * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
+       Constify char * return value.
+       * config/pa/pa/pa.c
+       (output_64bit_and, output_64bit_ior): Constify char * return value.
+       (pa_can_combine_p): Make static.
+       (function_arg): Decorate unused `named' argument. Fix comment typo.
+       (function_arg_partial_nregs): Decorate unused `named' argument.
+
 2000-10-16  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * c-common.c (format_check_results): New structure.
index 98ea1bf..6fd697b 100644 (file)
@@ -144,8 +144,8 @@ extern int ior_mask_p PARAMS ((unsigned HOST_WIDE_INT));
 extern void compute_zdepdi_operands PARAMS ((unsigned HOST_WIDE_INT,
                                             unsigned *));
 #ifdef RTX_CODE
-extern char * output_64bit_and PARAMS ((rtx *));
-extern char * output_64bit_ior PARAMS ((rtx *));
+extern const char * output_64bit_and PARAMS ((rtx *));
+extern const char * output_64bit_ior PARAMS ((rtx *));
 extern int cmpib_comparison_operator PARAMS ((rtx, enum machine_mode));
 #endif
 
index c74fb62..9013ac0 100644 (file)
@@ -2340,7 +2340,7 @@ output_and (operands)
 
 /* Return a string to perform a bitwise-and of operands[1] with operands[2]
    storing the result in operands[0].  */
-char *
+const char *
 output_64bit_and (operands)
      rtx *operands;
 {
@@ -2422,7 +2422,7 @@ output_ior (operands)
 
 /* Return a string to perform a bitwise-and of operands[1] with operands[2]
    storing the result in operands[0].  */
-char *
+const char *
 output_64bit_ior (operands)
      rtx *operands;
 {
@@ -6840,7 +6840,7 @@ pa_combine_instructions (insns)
     }
 }
 
-int
+static int
 pa_can_combine_p (new, anchor, floater, reversed, dest, src1, src2)
      rtx new, anchor, floater;
      int reversed;
@@ -6936,7 +6936,7 @@ function_arg (cum, mode, type, named, incoming)
      CUMULATIVE_ARGS *cum;
      enum machine_mode mode;
      tree type;
-     int named;
+     int named ATTRIBUTE_UNUSED;
      int incoming;
 {
   int max_arg_words = (TARGET_64BIT ? 8 : 4);
@@ -6967,7 +6967,7 @@ function_arg (cum, mode, type, named, incoming)
   /* The 32bit ABIs and the 64bit ABIs are rather different,
      particularly in their handling of FP registers.  We might
      be able to cleverly share code between them, but I'm not
-     going to bother in the hope that spltting them up results
+     going to bother in the hope that splitting them up results
      in code that is more easily understood. 
 
      The 64bit code probably is very wrong for structure passing.  */
@@ -7122,7 +7122,7 @@ function_arg_partial_nregs (cum, mode, type, named)
      CUMULATIVE_ARGS *cum;
      enum machine_mode mode;
      tree type;
-     int named;
+     int named ATTRIBUTE_UNUSED;
 {
   int max_arg_words = 8;
   int offset = 0;