diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-02-21 23:27:01 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-02-21 23:27:01 +0000 |
commit | 47ee9bcb614d58ea60d228bb11563d7df4d279ec (patch) | |
tree | ab68a041c8b2cd79695b0babfdcf3e374beeb39a /gcc/flow.c | |
parent | 24c3bf687d847ec0fadeae8157e01eb09453d94d (diff) | |
download | gcc-47ee9bcb614d58ea60d228bb11563d7df4d279ec.zip gcc-47ee9bcb614d58ea60d228bb11563d7df4d279ec.tar.gz gcc-47ee9bcb614d58ea60d228bb11563d7df4d279ec.tar.bz2 |
defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
* defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
* flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
(life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
* haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
* integrate.c (compare_blocks, find_block): Likewise.
* rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
* rtl.h (set_file_and_line_for_stmt): Constify a char*.
* stmt.c (stmt_status, set_file_and_line_for_stmt,
expand_asm_operands): Likewise.
From-SVN: r32094
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -351,6 +351,10 @@ static void flow_loop_tree_node_add PARAMS ((struct loop *, struct loop *)); static void flow_loops_tree_build PARAMS ((struct loops *)); static int flow_loop_level_compute PARAMS ((struct loop *, int)); static int flow_loops_level_compute PARAMS ((struct loops *)); +static basic_block get_common_dest PARAMS ((basic_block, basic_block)); +static basic_block chain_reorder_blocks PARAMS ((edge, basic_block)); +static void make_reorder_chain PARAMS ((basic_block)); +static void fixup_reorder_chain PARAMS ((void)); /* This function is always defined so it can be called from the debugger, and it is declared extern so we don't get warnings about @@ -2454,8 +2458,8 @@ life_analysis (f, nregs, file, remove_dead_code) FILE *file; int remove_dead_code; { - register int i; #ifdef ELIMINABLE_REGS + register int i; static struct {int from, to; } eliminables[] = ELIMINABLE_REGS; #endif int flags; @@ -7075,6 +7079,9 @@ static basic_block reorder_last_visited; enum reorder_skip_type {REORDER_SKIP_BEFORE, REORDER_SKIP_AFTER, REORDER_SKIP_BLOCK_END}; +static rtx skip_insns_between_block PARAMS ((basic_block, + enum reorder_skip_type)); + /* Skip over insns BEFORE or AFTER BB which are typically associated with basic block BB. */ |