This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: conditional exec verify_live problem after scheduling
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: conditional exec verify_live problem after scheduling
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Wed, 07 Feb 2001 16:50:05 +0000
- cc: Richard dot Earnshaw at arm dot com, Bernd Schmidt <bernds at redhat dot com>, Richard Earnshaw <rearnsha at arm dot com>, gcc-bugs at gcc dot gnu dot org
- Organization: ARM Ltd.
- Reply-To: Richard dot Earnshaw at arm dot com
> > * 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.