Comment mismatch in tree-cfg.c:verify_gimple_expr
Richard Guenther
rguenther@suse.de
Fri Aug 31 14:58:00 GMT 2007
On Fri, 31 Aug 2007, Diego Novillo wrote:
>
> 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 ==.
Whoops. Indeed. Now - no guarantee that this won't "break" anything
of course... (I'll check on the mainline)
Richard.
More information about the Gcc
mailing list