This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bug & patch for loop.c:maybe_eliminate_biv_1
On Mon, Jan 22, 2001 at 10:04:25AM +1300, Michael Hayes wrote:
> * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
> (loop_insn_emit_before): No longer static.
> (move_movables): Replace emit_insn_after with loop_insn_emit_after.
> (loop_givs_rescan, load_mems): Likewise.
> (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
> (maybe_eliminate_biv_1):
> (move_movables): Replace emit_call_insn_before with
> loop_call_insn_hoist.
> * loop.h (loop_insn_emit_before): Add.
> * unroll.c (copy_loop_body): Replace emit_insn_before with
> loop_insn_emit_before.
Ok.
r~