This is the mail archive of the gcc-bugs@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]

Re: conditional exec verify_live problem after scheduling


> > 	* flow.c (mark_set_1): Make not_dead unsigned long.  For
> > 	non-pseudos, use it as a bitmask of the hard regs that 
> > 	don't die.
> 
> A good idea.  If you're going to make it a long though...
> 
> > ! 	      not_dead |= 1 << (i - regno_first);
> > ! 	    if (!(not_dead & (1 << (i - regno_first))))
> 
> ... you need to make the bit you're shifting in a long too.
> 

A good point.  Not that we are likely to see many regs needing more than 
16 hard regs (assuming worst case of int being 16 bits).

R.


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