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 dot Earnshaw at arm dot com
- Subject: Re: conditional exec verify_live problem after scheduling
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 7 Feb 2001 08:40:33 -0800
- Cc: Bernd Schmidt <bernds at redhat dot com>, Richard Earnshaw <rearnsha at arm dot com>, gcc-bugs at gcc dot gnu dot org
- References: <200101201223.MAA28265@cam-mail2.cambridge.arm.com> <200102071524.PAA06546@cam-mail2.cambridge.arm.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.
r~