diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-10 16:45:23 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-10 16:45:23 +0000 |
commit | 3e9d8ceed974fc8f384e9a4834715d0271a92764 (patch) | |
tree | bccf50b76f45ea690463c91544d1c38191833d8a /gcc | |
parent | 8bb5d2a62165cf534eef5cdc95f38235afb21118 (diff) | |
download | gcc-3e9d8ceed974fc8f384e9a4834715d0271a92764.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 977e894e344..ef31d9af358 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 diff --git a/gcc/flow.c b/gcc/flow.c index c6efbd76401..49b2ae16422 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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 1d1b9607b1e..7dcf64edfae 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 865b4bb6faa..4e5d80cc2b6 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 diff --git a/gcc/stmt.c b/gcc/stmt.c index 9f6b03ee3a1..1b98bb589e8 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -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 780a7bd99e5..48fa75743c0 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; |