diff options
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/config/pa/pa-protos.h | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 12 |
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; |