Patch installed: warning nits

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Thu Feb 10 08:45:00 GMT 2000


Installed:

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.5655
diff -u -p -r1.5655 ChangeLog
--- ChangeLog	2000/02/10 16:29:20	1.5655
+++ ChangeLog	2000/02/10 16:43:33
@@ -1,3 +1,17 @@
+2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* flow.c (mark_regs_live_at_end): Delete unused variables.
+
+	* ggc-page.c (ggc_page_print_statistics): bzero -> memset.
+
+	* integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
+	in macro FRAME_GROWS_DOWNWARD.
+
+	* stmt.c (expand_end_bindings): Delete unused variable.
+
+	* unroll.c (iteration_info): Mark parameter `loop' with
+	ATTRIBUTE_UNUSED.
+
 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
 	* fixinc/server.c (load_data): Return NULL if the marker line is
Index: flow.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/flow.c,v
retrieving revision 1.218
diff -u -p -r1.218 flow.c
--- flow.c	2000/02/08 23:48:32	1.218
+++ flow.c	2000/02/10 16:43:38
@@ -2821,7 +2821,6 @@ static void
 mark_regs_live_at_end (set)
      regset set;
 {
-  tree result, type;
   int i;
 
   /* If exiting needs the right stack value, consider the stack pointer
Index: ggc-page.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ggc-page.c,v
retrieving revision 1.22
diff -u -p -r1.22 ggc-page.c
--- ggc-page.c	2000/01/23 20:42:53	1.22
+++ ggc-page.c	2000/02/10 16:43:39
@@ -1157,7 +1157,7 @@ ggc_page_print_statistics ()
   unsigned int i;
 
   /* Clear the statistics.  */
-  bzero (&stats, sizeof (stats));
+  memset (&stats, 0, sizeof (stats));
   
   /* Make sure collection will really occur.  */
   G.allocated_last_gc = 0;
Index: integrate.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/integrate.c,v
retrieving revision 1.90
diff -u -p -r1.90 integrate.c
--- integrate.c	2000/02/07 17:39:40	1.90
+++ integrate.c	2000/02/10 16:43:43
@@ -1625,11 +1625,11 @@ copy_rtx_and_substitute (orig, map, for_
 	    {
 	      rtx loc, seq;
 	      int size = get_func_frame_size (DECL_SAVED_INSNS (map->fndecl));
+#ifdef FRAME_GROWS_DOWNWARD
 	      int alignment
 		= (DECL_SAVED_INSNS (map->fndecl)->stack_alignment_needed
 		   / BITS_PER_UNIT);
 
-#ifdef FRAME_GROWS_DOWNWARD
 	      /* In this case, virtual_stack_vars_rtx points to one byte
 		 higher than the top of the frame area.  So make sure we
 		 allocate a big enough chunk to keep the frame pointer
Index: stmt.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/stmt.c,v
retrieving revision 1.120
diff -u -p -r1.120 stmt.c
--- stmt.c	2000/02/08 22:11:21	1.120
+++ stmt.c	2000/02/10 16:43:50
@@ -3561,7 +3561,6 @@ expand_end_bindings (vars, mark_ends, do
      int dont_jump_in;
 {
   register struct nesting *thisblock;
-  register tree decl;
 
   while (block_stack->data.block.exception_region)
     {
Index: unroll.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/unroll.c,v
retrieving revision 1.91
diff -u -p -r1.91 unroll.c
--- unroll.c	2000/02/01 23:51:38	1.91
+++ unroll.c	2000/02/10 16:43:57
@@ -2427,7 +2427,7 @@ biv_total_increment (bl)
 
 static void
 iteration_info (loop, iteration_var, initial_value, increment)
-     const struct loop *loop;
+     const struct loop *loop ATTRIBUTE_UNUSED;
      rtx iteration_var, *initial_value, *increment;
 {
   struct iv_class *bl;


More information about the Gcc-patches mailing list