This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed: warning nits
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Patch installed: warning nits
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Tue, 18 Jan 2000 17:44:55 -0500 (EST)
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.5466
diff -u -p -r1.5466 ChangeLog
--- ChangeLog 2000/01/18 16:06:53 1.5466
+++ ChangeLog 2000/01/18 22:44:10
@@ -1,3 +1,13 @@
+2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
+
+ * except.c (eh_regs): Likewise.
+
+ * final.c (output_operand): Likewise.
+
+ * fold-const.c (target_isinf, target_isnan): Likewise.
+
Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
* i386.h (BIGGEST_ALIGNMENT): Set to 128.
Index: calls.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/calls.c,v
retrieving revision 1.77
diff -u -p -r1.77 calls.c
--- calls.c 2000/01/13 23:43:54 1.77
+++ calls.c 2000/01/18 22:44:11
@@ -386,7 +386,7 @@ emit_call_1 (funexp, fndecl, funtype, st
tree funtype ATTRIBUTE_UNUSED;
HOST_WIDE_INT stack_size ATTRIBUTE_UNUSED;
HOST_WIDE_INT rounded_stack_size;
- HOST_WIDE_INT struct_value_size;
+ HOST_WIDE_INT struct_value_size ATTRIBUTE_UNUSED;
rtx next_arg_reg;
rtx valreg;
int old_inhibit_defer_pop;
Index: except.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/except.c,v
retrieving revision 1.112
diff -u -p -r1.112 except.c
--- except.c 2000/01/14 17:14:42 1.112
+++ except.c 2000/01/18 22:44:12
@@ -2900,7 +2900,7 @@ expand_builtin_frob_return_addr (addr_tr
static void
eh_regs (pcontext, psp, pra, outgoing)
rtx *pcontext, *psp, *pra;
- int outgoing;
+ int outgoing ATTRIBUTE_UNUSED;
{
rtx rcontext, rsp, rra;
int i;
Index: final.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/final.c,v
retrieving revision 1.107
diff -u -p -r1.107 final.c
--- final.c 2000/01/14 17:14:43 1.107
+++ final.c 2000/01/18 22:44:13
@@ -3578,7 +3578,7 @@ output_asm_label (x)
static void
output_operand (x, code)
rtx x;
- int code;
+ int code ATTRIBUTE_UNUSED;
{
if (x && GET_CODE (x) == SUBREG)
x = alter_subreg (x);
Index: fold-const.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/fold-const.c,v
retrieving revision 1.101
diff -u -p -r1.101 fold-const.c
--- fold-const.c 2000/01/14 17:14:43 1.101
+++ fold-const.c 2000/01/18 22:44:17
@@ -874,7 +874,7 @@ target_negative (x)
int
target_isinf (x)
- REAL_VALUE_TYPE x;
+ REAL_VALUE_TYPE x ATTRIBUTE_UNUSED;
{
return 0;
}
@@ -884,7 +884,7 @@ target_isinf (x)
int
target_isnan (x)
- REAL_VALUE_TYPE x;
+ REAL_VALUE_TYPE x ATTRIBUTE_UNUSED;
{
return 0;
}