This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]