This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC][4.4] Conversion of tree.h STRIP_* macros into static inline functions
- From: Diego Novillo <dnovillo at google dot com>
- To: Simon Baldwin <simonb at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Dec 2007 18:36:33 -0500
- Subject: Re: [RFC][4.4] Conversion of tree.h STRIP_* macros into static inline functions
- References: <475EE943.7090807@google.com>
On 12/11/07 2:47 PM, Simon Baldwin wrote:
+ /* Given an expression as a tree, strip any NON_LVALUE_EXPRs and NOP_EXPRs
> + that don't change the machine mode. */
Hmm, this is not really stripping anything out of EXP. Maybe "Given a
type-cast expression EXP that does not change the machine mode, return
the innermost expression stripped of any surrounding NON_LVALUE_EXPRs
and NOP_EXPRs." Similarly for the other STRIP_* functions.
The rest of the patch is OK for 4.4. I'll be doing a ppc run today.
Diego.