This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix alpha/sparc failure
On Sat, Oct 27, 2001 at 10:15:06PM +0200, Jan Hubicka wrote:
> * basic-block.h (purge_all_dead_edges): Add life_ok argument.
> * cfgcleanup.c (merge_blocks): Update the life flag after merging;
> fix warning.
> * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
> (life_analysis): call purge_all_dead_edges after deleting noops.
> (delete_noop_move): Do not purge CFG.
> * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
Ok.
Except that "life_ok" is not a proper name for the argument.
The use is not "it's safe to assume life info up to date" but
rather "please update life info"; "update_life_p" might be better.
r~