]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
flow.c (mark_regs_live_at_end): Delete unused variables.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 10 Feb 2000 16:45:23 +0000 (16:45 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 10 Feb 2000 16:45:23 +0000 (16:45 +0000)
        * 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.

From-SVN: r31895

gcc/ChangeLog
gcc/flow.c
gcc/ggc-page.c
gcc/integrate.c
gcc/stmt.c
gcc/unroll.c

index 977e894e344d9a4e5ed44e79e893dc61832fd488..ef31d9af35892397b7cf8d82970cae6b0e8553d1 100644 (file)
@@ -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 c6efbd7640103ddd6d41e07dcdb84feb8d4107d2..49b2ae16422400f9a838946e50102d67f7166a38 100644 (file)
@@ -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 1d1b9607b1ed7234bfd8fbee7ed9998891bc1ec7..7dcf64edfaea874ca5cf2942747bd08b862982fa 100644 (file)
@@ -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 865b4bb6faadcb537ec953d2106ff496b2c0443f..4e5d80cc2b65dd022692175833ad3ae1bdf168dc 100644 (file)
@@ -1625,11 +1625,11 @@ copy_rtx_and_substitute (orig, map, for_lhs)
            {
              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 9f6b03ee3a14723b883b3d4c4c73d088f5ba9c30..1b98bb589e83e0f14d7e841b429bed91a946b91d 100644 (file)
@@ -3561,7 +3561,6 @@ expand_end_bindings (vars, mark_ends, dont_jump_in)
      int dont_jump_in;
 {
   register struct nesting *thisblock;
-  register tree decl;
 
   while (block_stack->data.block.exception_region)
     {
index 780a7bd99e55354369b4442278096d891db73ced..48fa75743c031eaddb87ac1e0ac58b34679ed294 100644 (file)
@@ -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;