conditional exec verify_live problem after scheduling

Richard Earnshaw rearnsha@arm.com
Wed Feb 7 08:51:00 GMT 2001


> > 	* 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.



More information about the Gcc-bugs mailing list