From c5b891591b3bcbcc471f73ad067746f53bffdff2 Mon Sep 17 00:00:00 2001 From: ghazi Date: Fri, 24 Dec 1999 14:04:54 +0000 Subject: * Makefile.in (toplev.o): Depend on loop.h. * dwarfout.c: Include tm_p.h. * emit-rtl.c (restore_emit_status): Mark parameter with ATTRIBUTE_UNUSED. * final.c (final_scan_insn): Likewise. * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find, flow_depth_first_order_compute, flow_loop_pre_header_find, flow_loop_tree_node_add, flow_loops_tree_build, flow_loop_level_compute, flow_loops_level_compute, flow_loop_outside_edge_p): Add prototypes. (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED. * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack): Mark with ATTRIBUTE_NORETURN. * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED. * local-alloc.c (no_conflict_p): Likewise. * loop.c (insert_bct): Hide definitions of variables with hidden usage. (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED. * regclass.c (memory_move_secondary_cost): Mark variable `mem' with ATTRIBUTE_UNUSED. (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED. (reg_scan): Likewise. * reload.c (find_reloads): Remove unused variables `changed'. * reload1.c (reload_reg_class_lower): Don't unnecessarily cast away const-ness. (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED. Remove unused variable `insn'. * toplev.c: Include loop.h. (report_file_and_line): Remove unnecessary prototype. * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED. * unroll.c (biv_total_increment): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31085 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/reload1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gcc/reload1.c') diff --git a/gcc/reload1.c b/gcc/reload1.c index 6affa682069..65020442344 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -1441,7 +1441,7 @@ reload_reg_class_lower (r1p, r2p) const PTR r1p; const PTR r2p; { - register int r1 = *(short *)r1p, r2 = *(short *)r2p; + register int r1 = *(const short *)r1p, r2 = *(const short *)r2p; register int t; /* Consider required reloads before optional ones. */ @@ -4900,11 +4900,10 @@ set_reload_reg (i, r) static int allocate_reload_reg (chain, r, last_reload) - struct insn_chain *chain; + struct insn_chain *chain ATTRIBUTE_UNUSED; int r; int last_reload; { - rtx insn = chain->insn; int i, pass, count; /* If we put this reload ahead, thinking it is a group, -- cgit v1.2.1