diff options
-rw-r--r-- | gcc/ChangeLog | 14 | ||||
-rw-r--r-- | gcc/flow.c | 1 | ||||
-rw-r--r-- | gcc/ggc-page.c | 2 | ||||
-rw-r--r-- | gcc/integrate.c | 2 | ||||
-rw-r--r-- | gcc/stmt.c | 1 | ||||
-rw-r--r-- | gcc/unroll.c | 2 |
6 files changed, 17 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 977e894..ef31d9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -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 diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 1d1b960..7dcf64e 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -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; diff --git a/gcc/integrate.c b/gcc/integrate.c index 865b4bb..4e5d80c 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -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 @@ -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) { diff --git a/gcc/unroll.c b/gcc/unroll.c index 780a7bd..48fa757 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -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; |