This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CFG branch merge 5 - remove PROP_ALLOW_CFG_CHANGES


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]