This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [docs patch]: Remove obsolete section in tree-ssa.texi,add V_MUST_DEF iterator
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gerald at pfeifer dot com
- Date: Fri, 21 Jan 2005 10:19:20 -0500
- Subject: Re: [docs patch]: Remove obsolete section in tree-ssa.texi,add V_MUST_DEF iterator
- References: <1106319096.6072.4.camel@IBM-82ZWS052TEN> <41F11B83.9030704@redhat.com>
On Fri, 2005-01-21 at 10:10 -0500, Diego Novillo wrote:
> Daniel Berlin wrote:
>
> > -@defmac NUM_USES (@var{ops})
> > -Return the number of USE operands in array @var{ops}.
> > -@end defmac
> > -
> Hmm, NUM_* are useful regardless of whether we want to force
> optimizations to use iterators. Useful in passes that want to ignore
> statements with virtual operands, for instance. For 4.1, those macros
> ought to disappear.
The problem is that they currently also require the other macros.
If we really want to keep them, they should be modified to work on the
statement, and hide how they are getting the number from the user :)
>
> Other than that, I agree with the other changes.
>
>
> Diego.