diff options
author | Richard Henderson <rth@cygnus.com> | 1999-10-20 07:04:12 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-10-20 07:04:12 -0700 |
commit | 49c3bb1275fbdde639e778beb5aa5f4c6361a52d (patch) | |
tree | 861e406256a60c2c63e3e1c6624c268ca1f60944 /gcc/rtlanal.c | |
parent | 5b9188072e2e72aef010fdd9e9f4bf517cb49f6d (diff) | |
download | gcc-49c3bb1275fbdde639e778beb5aa5f4c6361a52d.zip gcc-49c3bb1275fbdde639e778beb5aa5f4c6361a52d.tar.gz gcc-49c3bb1275fbdde639e778beb5aa5f4c6361a52d.tar.bz2 |
basic-block.h (PROP_*): Move constants from ...
* basic-block.h (PROP_*): Move constants from ...
* flow.c: ... here.
(compute_bb_for_insn): Free the array before reallocating.
(update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
(allocate_reg_life_data): Reset all reg variables collected by
propagate_block.
(get_block_head_tail): Don't convert from bb to block.
(get_bb_head_tail): New. Update all callers of get_block_head_tail.
(find_insn_reg_weight): Take block not bb.
(schedule_block): Don't set block num for moved insns.
(schedule_region): Don't update_life_info or find_insn_reg_weight.
(schedule_insns): Do it here instead.
* combine.c (combine_instructions): Invoke compute_bb_for_insn
before update_life_info.
* recog.c (split_all_insns, peephole2_optimize): Update for
new arg to update_life_info.
* rtlanal.c (remove_note): Cope with NULL note.
* toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
if we did sched1.
From-SVN: r30103
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 5512a43..012f6db 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1513,11 +1513,14 @@ find_regno_fusage (insn, code, regno) void remove_note (insn, note) - register rtx note; register rtx insn; + register rtx note; { register rtx link; + if (note == NULL_RTX) + return; + if (REG_NOTES (insn) == note) { REG_NOTES (insn) = XEXP (note, 1); |