More warning nits installed

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sat Dec 11 17:34:00 GMT 1999


Installed.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.5184
diff -u -p -r1.5184 ChangeLog
--- ChangeLog	1999/12/12 01:06:27	1.5184
+++ ChangeLog	1999/12/12 01:32:08
@@ -1,5 +1,17 @@
 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+	* combine.c (record_promoted_value): Remove unused variable
+	`links2'.
+
+	* emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
+
+	* global.c (record_conflicts): Likewise for `j'.
+
+	* genoutput.c (output_insn_data): Don't unnecessarily cast away
+	const-ness.
+
+1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
 	* i386-protos.h (output_387_binary_op, output_fix_trunc,
 	output_fp_compare): Constify a char*.
 
Index: combine.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/combine.c,v
retrieving revision 1.101
diff -u -p -r1.101 combine.c
--- combine.c	1999/12/09 10:46:10	1.101
+++ combine.c	1999/12/12 01:32:23
@@ -11061,7 +11061,7 @@ record_promoted_value (insn, subreg)
     rtx insn;
     rtx subreg;
 {
-  rtx links, links2, set;
+  rtx links, set;
   int regno = REGNO (SUBREG_REG (subreg));
   enum machine_mode mode = GET_MODE (subreg);
 
Index: emit-rtl.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/emit-rtl.c,v
retrieving revision 1.98
diff -u -p -r1.98 emit-rtl.c
--- emit-rtl.c	1999/11/22 14:53:20	1.98
+++ emit-rtl.c	1999/12/12 01:32:28
@@ -1905,7 +1905,6 @@ renumber_insns (stream)
      FILE *stream;
 {
   rtx insn;
-  int old_max_uid = cur_insn_uid;
 
   /* If we're not supposed to renumber instructions, don't.  */
   if (!flag_renumber_insns)
Index: genoutput.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/genoutput.c,v
retrieving revision 1.41
diff -u -p -r1.41 genoutput.c
--- genoutput.c	1999/11/10 08:12:03	1.41
+++ genoutput.c	1999/12/12 01:32:29
@@ -361,7 +361,7 @@ output_insn_data ()
 	  break;
 	case INSN_OUTPUT_FORMAT_MULTI:
 	case INSN_OUTPUT_FORMAT_FUNCTION:
-	  printf ("    (PTR) output_%d,\n", d->code_number);
+	  printf ("    (const PTR) output_%d,\n", d->code_number);
 	  break;
 	default:
 	  abort ();
Index: global.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/global.c,v
retrieving revision 1.49
diff -u -p -r1.49 global.c
--- global.c	1999/11/30 12:16:55	1.49
+++ global.c	1999/12/12 01:32:30
@@ -1352,7 +1352,6 @@ record_conflicts (allocno_vec, len)
      register int len;
 {
   register int num;
-  register int j;
   register int ialloc_prod;
 
   while (--len >= 0)


More information about the Gcc-patches mailing list