This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: number_of_iterations_in_loop issues
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: Ira Rosen <IRAR at il dot ibm dot com>, pop at cri dot ensmp dot fr, Dorit Naishlos <DORIT at il dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Nov 2004 10:23:15 -0500
- Subject: Re: number_of_iterations_in_loop issues
- References: <OF68F4B51F.A7E73055-ONC2256F4E.003611D4-C2256F4E.0036507E@il.ibm.com> <20041116101124.GA24813@atrey.karlin.mff.cuni.cz> <20041117140854.GA8649@atrey.karlin.mff.cuni.cz>
> +
> + if (IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (code)))
This should be simply EXPR_P (expr)
EXPR_P expands to
IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (node)))
which is what you want