flow.c (loop_depth): Remove.
authorRichard Henderson <rth@cygnus.com>
Fri, 7 Apr 2000 23:33:47 +0000 (16:33 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 7 Apr 2000 23:33:47 +0000 (16:33 -0700)
commit62828c0078f54356ccc4d81136bd2ef6c68e9b7b
tree6f5803593cbd6ead55d5dee13f78940d641c0d19
parent4f0207119fb3bf380997ea865fecf19d4398d688
flow.c (loop_depth): Remove.

* flow.c (loop_depth): Remove.
(reg_next_use, cc0_live, mem_set_list): Replace with ...
(struct propagate_block_info): New.
(life_analysis): Don't allocate reg_next_use.
(propagate_block_delete_insn): Break out of propagate_block.
Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
(propagate_block_delete_libcall): Likewise.
(propagate_block): Create a propagate_block_info struct to pass
to subroutines.  Allocate one not two temporary regsets.  Don't
clobber memory for const calls.  Look for clobbers in
CALL_INSN_FUNCTION_USAGE.
(mark_set_regs): Recognize COND_EXEC.
(mark_set_reg): Break out of mark_set_1.
(mark_used_reg): Break out of mark_used_regs.
(mark_used_regs): Recognize COND_EXEC.
(insn_dead_p): Use propagate_block_info struct.
(libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
(find_auto_inc, try_pre_increment_1): Likewise.
(print_rtl_with_bb): Dump regs live at end too.
(count_reg_sets_1): Pass in loop_depth.
(count_reg_sets, count_reg_references): Likewise.
(recompute_reg_usage): Provide it.

From-SVN: r33012
gcc/ChangeLog
gcc/flow.c