Comment mismatch in tree-cfg.c:verify_gimple_expr

Diego Novillo dnovillo@google.com
Fri Aug 31 14:48:00 GMT 2007


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.



More information about the Gcc mailing list