This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Refine verify_expr and LHS
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Jun 04 21:37:33 EDT
- Subject: Re: Refine verify_expr and LHS
> + #define CHECK_OP(N, MSG) \
> + do { if (TREE_CODE_CLASS (TREE_CODE (TREE_OPERAND (t, N))) != 'c' \
> + && !is_gimple_val (TREE_OPERAND (t, N))) \
Why are you not just checking is_gimple_val?
Because I was copying what was there before and *it* didn't just check that!
Do you know why that was? From my quick reading, calling is_gimple_val is
*better* because it rejects constant that overflow while the above doesn't.