Commit fd7c34b0 by Richard Henderson Committed by Richard Henderson

ia64.c (sdata_symbolic_operand): Mark unused args.

        * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
        (symbolic_operand, function_operand, setjmp_operand): Likewise.
        (shift_count_operand, shift_32bit_count_operand): Likewise.
        (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
        (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
        (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
        (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
        (ia64_expand_builtin): Likewise.
        (call_multiple_values_operation): Make dest_regno unsigned.

From-SVN: r33753
parent 809d4ef1
2000-05-06 Richard Henderson <rth@cygnus.com> 2000-05-06 Richard Henderson <rth@cygnus.com>
2000-05-06 Richard Henderson <rth@cygnus.com>
* c-decl.c: Include "tm_p.h". * c-decl.c: Include "tm_p.h".
...@@ -19,6 +18,16 @@ ...@@ -19,6 +18,16 @@
* config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
for printing. for printing.
* config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
(symbolic_operand, function_operand, setjmp_operand): Likewise.
(shift_count_operand, shift_32bit_count_operand): Likewise.
(shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
(ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
(ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
(ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
(ia64_expand_builtin): Likewise.
(call_multiple_values_operation): Make dest_regno unsigned.
2000-05-06 Richard Henderson <rth@cygnus.com> 2000-05-06 Richard Henderson <rth@cygnus.com>
* rtl.def (DEFINE_COND_EXEC): New. * rtl.def (DEFINE_COND_EXEC): New.
......
...@@ -140,7 +140,7 @@ call_operand (op, mode) ...@@ -140,7 +140,7 @@ call_operand (op, mode)
int int
sdata_symbolic_operand (op, mode) sdata_symbolic_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
switch (GET_CODE (op)) switch (GET_CODE (op))
{ {
...@@ -163,7 +163,7 @@ sdata_symbolic_operand (op, mode) ...@@ -163,7 +163,7 @@ sdata_symbolic_operand (op, mode)
int int
symbolic_operand (op, mode) symbolic_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
switch (GET_CODE (op)) switch (GET_CODE (op))
{ {
...@@ -183,7 +183,7 @@ symbolic_operand (op, mode) ...@@ -183,7 +183,7 @@ symbolic_operand (op, mode)
int int
function_operand (op, mode) function_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
if (GET_CODE (op) == SYMBOL_REF && SYMBOL_REF_FLAG (op)) if (GET_CODE (op) == SYMBOL_REF && SYMBOL_REF_FLAG (op))
return 1; return 1;
...@@ -198,7 +198,7 @@ function_operand (op, mode) ...@@ -198,7 +198,7 @@ function_operand (op, mode)
int int
setjmp_operand (op, mode) setjmp_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
const char *name; const char *name;
int retval = 0; int retval = 0;
...@@ -350,7 +350,7 @@ reg_or_22bit_operand (op, mode) ...@@ -350,7 +350,7 @@ reg_or_22bit_operand (op, mode)
int int
shift_count_operand (op, mode) shift_count_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
return ((GET_CODE (op) == CONST_INT && CONST_OK_FOR_M (INTVAL (op))) return ((GET_CODE (op) == CONST_INT && CONST_OK_FOR_M (INTVAL (op)))
|| GET_CODE (op) == CONSTANT_P_RTX); || GET_CODE (op) == CONSTANT_P_RTX);
...@@ -361,7 +361,7 @@ shift_count_operand (op, mode) ...@@ -361,7 +361,7 @@ shift_count_operand (op, mode)
int int
shift_32bit_count_operand (op, mode) shift_32bit_count_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
return ((GET_CODE (op) == CONST_INT return ((GET_CODE (op) == CONST_INT
&& (INTVAL (op) >= 0 && INTVAL (op) < 32)) && (INTVAL (op) >= 0 && INTVAL (op) < 32))
...@@ -373,7 +373,7 @@ shift_32bit_count_operand (op, mode) ...@@ -373,7 +373,7 @@ shift_32bit_count_operand (op, mode)
int int
shladd_operand (op, mode) shladd_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
return (GET_CODE (op) == CONST_INT return (GET_CODE (op) == CONST_INT
&& (INTVAL (op) == 2 || INTVAL (op) == 4 && (INTVAL (op) == 2 || INTVAL (op) == 4
...@@ -385,7 +385,7 @@ shladd_operand (op, mode) ...@@ -385,7 +385,7 @@ shladd_operand (op, mode)
int int
fetchadd_operand (op, mode) fetchadd_operand (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
return (GET_CODE (op) == CONST_INT return (GET_CODE (op) == CONST_INT
&& (INTVAL (op) == -16 || INTVAL (op) == -8 || && (INTVAL (op) == -16 || INTVAL (op) == -8 ||
...@@ -443,7 +443,7 @@ call_multiple_values_operation (op, mode) ...@@ -443,7 +443,7 @@ call_multiple_values_operation (op, mode)
{ {
int count = XVECLEN (op, 0) - 2; int count = XVECLEN (op, 0) - 2;
int i; int i;
int dest_regno; unsigned int dest_regno;
/* Perform a quick check so we don't block up below. */ /* Perform a quick check so we don't block up below. */
if (count <= 1 if (count <= 1
...@@ -1082,7 +1082,7 @@ ia64_expand_epilogue () ...@@ -1082,7 +1082,7 @@ ia64_expand_epilogue ()
void void
ia64_function_prologue (file, size) ia64_function_prologue (file, size)
FILE *file; FILE *file;
int size; int size ATTRIBUTE_UNUSED;
{ {
rtx insn; rtx insn;
if (ia64_need_regstk) if (ia64_need_regstk)
...@@ -1123,8 +1123,8 @@ ia64_function_prologue (file, size) ...@@ -1123,8 +1123,8 @@ ia64_function_prologue (file, size)
void void
ia64_function_epilogue (file, size) ia64_function_epilogue (file, size)
FILE *file; FILE *file ATTRIBUTE_UNUSED;
int size; int size ATTRIBUTE_UNUSED;
{ {
} }
...@@ -1144,8 +1144,8 @@ ia64_direct_return () ...@@ -1144,8 +1144,8 @@ ia64_direct_return ()
void void
ia64_setup_incoming_varargs (cum, int_mode, type, pretend_size, second_time) ia64_setup_incoming_varargs (cum, int_mode, type, pretend_size, second_time)
CUMULATIVE_ARGS cum; CUMULATIVE_ARGS cum;
int int_mode; int int_mode ATTRIBUTE_UNUSED;
tree type; tree type ATTRIBUTE_UNUSED;
int * pretend_size; int * pretend_size;
int second_time; int second_time;
{ {
...@@ -1418,7 +1418,7 @@ ia64_function_arg_partial_nregs (cum, mode, type, named) ...@@ -1418,7 +1418,7 @@ ia64_function_arg_partial_nregs (cum, mode, type, named)
CUMULATIVE_ARGS *cum; CUMULATIVE_ARGS *cum;
enum machine_mode mode; enum machine_mode mode;
tree type; tree type;
int named; int named ATTRIBUTE_UNUSED;
{ {
int words = (((mode == BLKmode ? int_size_in_bytes (type) int words = (((mode == BLKmode ? int_size_in_bytes (type)
: GET_MODE_SIZE (mode)) + UNITS_PER_WORD - 1) : GET_MODE_SIZE (mode)) + UNITS_PER_WORD - 1)
...@@ -1623,7 +1623,7 @@ ia64_return_in_memory (valtype) ...@@ -1623,7 +1623,7 @@ ia64_return_in_memory (valtype)
rtx rtx
ia64_function_value (valtype, func) ia64_function_value (valtype, func)
tree valtype; tree valtype;
tree func; tree func ATTRIBUTE_UNUSED;
{ {
enum machine_mode mode; enum machine_mode mode;
enum machine_mode hfa_mode; enum machine_mode hfa_mode;
...@@ -1670,8 +1670,8 @@ ia64_function_value (valtype, func) ...@@ -1670,8 +1670,8 @@ ia64_function_value (valtype, func)
void void
ia64_print_operand_address (stream, address) ia64_print_operand_address (stream, address)
FILE * stream; FILE * stream ATTRIBUTE_UNUSED;
rtx address; rtx address ATTRIBUTE_UNUSED;
{ {
} }
...@@ -1858,7 +1858,7 @@ ia64_print_operand (file, x, code) ...@@ -1858,7 +1858,7 @@ ia64_print_operand (file, x, code)
enum reg_class enum reg_class
ia64_secondary_reload_class (class, mode, x) ia64_secondary_reload_class (class, mode, x)
enum reg_class class; enum reg_class class;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
rtx x; rtx x;
{ {
int regno = -1; int regno = -1;
...@@ -3515,9 +3515,9 @@ rtx ...@@ -3515,9 +3515,9 @@ rtx
ia64_expand_builtin (exp, target, subtarget, mode, ignore) ia64_expand_builtin (exp, target, subtarget, mode, ignore)
tree exp; tree exp;
rtx target; rtx target;
rtx subtarget; rtx subtarget ATTRIBUTE_UNUSED;
enum machine_mode mode; enum machine_mode mode ATTRIBUTE_UNUSED;
int ignore; int ignore ATTRIBUTE_UNUSED;
{ {
rtx op0, op1, pat; rtx op0, op1, pat;
rtx tmp_reg; rtx tmp_reg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment