This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Comment mismatch in tree-cfg.c:verify_gimple_expr
- From: Diego Novillo <dnovillo at google dot com>
- To: Richard Guenther <rguenther at suse dot de>, gcc at gcc dot gnu dot org
- Date: Fri, 31 Aug 2007 09:54:08 -0400
- Subject: Comment mismatch in tree-cfg.c:verify_gimple_expr
Richard, this comment does not match the code. The code allows type
conversions between two integral types and between arbitrary types that
happen to *not* be integral. Which semantics did you mean here?
/* Allow conversions between integral types. */
if (INTEGRAL_TYPE_P (type) == INTEGRAL_TYPE_P (TREE_TYPE (op)))
return false;
I'm thinking this should be && not ==.
Thanks.