mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 21:29:55 +08:00
sparc.c (sparc_output_scratch_registers): Mark parameter with ATTRIBUTE_UNUSED.
* sparc.c (sparc_output_scratch_registers): Mark parameter with ATTRIBUTE_UNUSED. (sparc_va_arg, sparc_flat_output_function_prologue, sparc_flat_output_function_epilogue): Cast value to unsigned in comparison. (sparc_emit_float_lib_cmp): Remove unused variable `cmp'. * sparc.md: Add default case in switch. From-SVN: r32078
This commit is contained in:
parent
ce26960a54
commit
fbd039b21b
@ -1,3 +1,14 @@
|
||||
2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* sparc.c (sparc_output_scratch_registers): Mark parameter with
|
||||
ATTRIBUTE_UNUSED.
|
||||
(sparc_va_arg, sparc_flat_output_function_prologue,
|
||||
sparc_flat_output_function_epilogue): Cast value to unsigned in
|
||||
comparison.
|
||||
(sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
|
||||
|
||||
* sparc.md: Add default case in switch.
|
||||
|
||||
2000-02-19 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* c-typeck.c (add_pending_init): Don't abort for multiple
|
||||
|
@ -3271,7 +3271,7 @@ build_big_number (file, num, reg)
|
||||
/* Output any necessary .register pseudo-ops. */
|
||||
void
|
||||
sparc_output_scratch_registers (file)
|
||||
FILE *file;
|
||||
FILE *file ATTRIBUTE_UNUSED;
|
||||
{
|
||||
#ifdef HAVE_AS_REGISTER_PSEUDO_OP
|
||||
int i;
|
||||
@ -4542,7 +4542,7 @@ sparc_va_arg (valist, type)
|
||||
|
||||
if (TARGET_ARCH64)
|
||||
{
|
||||
if (TYPE_ALIGN (type) >= 2 * BITS_PER_WORD)
|
||||
if (TYPE_ALIGN (type) >= 2 * (unsigned) BITS_PER_WORD)
|
||||
align = 2 * UNITS_PER_WORD;
|
||||
|
||||
if (AGGREGATE_TYPE_P (type))
|
||||
@ -4821,7 +4821,6 @@ sparc_emit_float_lib_cmp (x, y, comparison)
|
||||
enum rtx_code comparison;
|
||||
{
|
||||
char *qpfunc;
|
||||
rtx cmp = const0_rtx;
|
||||
rtx slot0, slot1, result, tem, tem2;
|
||||
enum machine_mode mode;
|
||||
|
||||
@ -6346,7 +6345,7 @@ sparc_flat_output_function_prologue (file, size)
|
||||
the gdb folk first. */
|
||||
|
||||
/* Is the entire register save area offsettable from %sp? */
|
||||
if (reg_offset < 4096 - 64 * UNITS_PER_WORD)
|
||||
if (reg_offset < 4096 - 64 * (unsigned) UNITS_PER_WORD)
|
||||
{
|
||||
if (size <= 4096)
|
||||
{
|
||||
@ -6531,7 +6530,7 @@ sparc_flat_output_function_epilogue (file, size)
|
||||
}
|
||||
|
||||
/* Is the entire register save area offsettable from %sp? */
|
||||
if (reg_offset < 4096 - 64 * UNITS_PER_WORD)
|
||||
if (reg_offset < 4096 - 64 * (unsigned) UNITS_PER_WORD)
|
||||
{
|
||||
size1 = 0;
|
||||
}
|
||||
|
@ -3012,6 +3012,8 @@
|
||||
case 7:
|
||||
case 8:
|
||||
return \"st\\t%1, %0\";
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}"
|
||||
[(set_attr "type" "fpmove,move,move,move,*,load,fpload,fpstore,store")
|
||||
@ -3057,6 +3059,8 @@
|
||||
case 7:
|
||||
case 8:
|
||||
return \"st\\t%r1, %0\";
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}"
|
||||
[(set_attr "type" "fpmove,move,move,move,*,load,fpload,fpstore,store")
|
||||
@ -3104,6 +3108,8 @@
|
||||
case 8:
|
||||
case 9:
|
||||
return \"st\\t%r1, %0\";
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}"
|
||||
[(set_attr "type" "fpmove,fpmove,move,move,move,*,load,fpload,fpstore,store")
|
||||
|
Loading…
Reference in New Issue
Block a user