This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Basic block boundaries, again
- To: Bernd Schmidt <crux at Pool dot Informatik dot RWTH-Aachen dot DE>
- Subject: Re: Basic block boundaries, again
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 02 Oct 1998 11:25:06 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.SOL.3.90.981002144733.14944G@jennifer.informatik.rwth-aachen
.de>you write:
> Here's a patch that fixes caller-save to update basic_block_head and
> basic_block_end when it inserts new insns.
>
> Bernd
>
> * caller-save.c (insert_save_restore): Break this function up
> into new functions insert_restore, insert_save and insert_one_insn.
> All callers changed.
> (insert_restore): New function, mostly broken out of
> insert_save_restore.
> (insert_save): Likewise.
> (insert_one_insn): Likewise.
> (restore_referenced_regs): New argument BLOCK. All callers changed.
> (save_call_clobbered_regs): Don't keep track of basic block boundaries
> in this function, do it in insert_one_insn instead.
Thanks. Installed.
jeff