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
- From: Jan Hubicka <jh at suse dot cz>
- To: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org, gcc-pdo at atrey dot karlin dot mff dot cuni dot cz, patches at x86-64 dot org
- Date: Thu, 28 Feb 2002 09:26:58 +0100
- Subject: Re: CFG branch merge 5 - remove PROP_ALLOW_CFG_CHANGES
- References: <20020226163447.GC14496@atrey.karlin.mff.cuni.cz> <20020227123506.E29553@redhat.com>
> On Tue, Feb 26, 2002 at 05:34:47PM +0100, Jan Hubicka wrote:
> > ! for ( ; ; )
>
> I don't understand why you think you can remove the loop.
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.
Honza