This is the mail archive of the gcc@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]

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.


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