This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: CFG branch merge 5 - remove PROP_ALLOW_CFG_CHANGES
On Thu, Feb 28, 2002 at 09:26:58AM +0100, Jan Hubicka wrote:
> It is always terminated when PROP_ALLOW_CFG_CHANGES is false:
>
> ! for ( ; ; )
> ! {
> ! int changed = 0;
> !
> ! calculate_global_regs_live (blocks, blocks,
> ! prop_flags & (PROP_SCAN_DEAD_CODE
> ! | PROP_ALLOW_CFG_CHANGES));
> !
> ! if ((prop_flags & (PROP_KILL_DEAD_CODE | PROP_ALLOW_CFG_CHANGES))
> ! != (PROP_KILL_DEAD_CODE | PROP_ALLOW_CFG_CHANGES))
> ^^^^^
> here.
Yes, but I thought you were keeping some mechanism that
allows cfg changes.
Note that this loop is _not_ redundant with a simple
call to cleanup_cfg afterward.
r~