aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRodney Brown <RodneyBrown@mynd.com>2000-10-16 16:20:23 +0000
committerJeff Law <law@gcc.gnu.org>2000-10-16 10:20:23 -0600
commit0952f89b95dff6f2fef434ac0effb88b3255a541 (patch)
tree358fa61e5f32c4752a0de3dd56d71308830687e0 /gcc
parent6d2e14543b118bc359e02b717ac3cd3bfe848e65 (diff)
downloadgcc-0952f89b95dff6f2fef434ac0effb88b3255a541.zip
gcc-0952f89b95dff6f2fef434ac0effb88b3255a541.tar.gz
gcc-0952f89b95dff6f2fef434ac0effb88b3255a541.tar.bz2
pa-protos.h (output_64bit_and, [...]): Constify char * return value.
* 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. From-SVN: r36884
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/config/pa/pa-protos.h4
-rw-r--r--gcc/config/pa/pa.c12
3 files changed, 18 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f163b62..7ae4380 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/pa/pa-protos.h b/gcc/config/pa/pa-protos.h
index 98ea1bf..6fd697b 100644
--- a/gcc/config/pa/pa-protos.h
+++ b/gcc/config/pa/pa-protos.h
@@ -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
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index c74fb62..9013ac0 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -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;