diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f73965d3667..4714c31f997 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-05-22 Richard Guenther + + * tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous + commit. + 2012-05-22 Richard Guenther PR middle-end/53437 diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 423db1db453..cd68f1f86c4 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -3376,8 +3376,8 @@ verify_gimple_assign_unary (gimple stmt) /* Allow conversion from integral to offset type and vice versa. */ if ((TREE_CODE (lhs_type) == OFFSET_TYPE && INTEGRAL_TYPE_P (rhs1_type)) - || (TREE_CODE (lhs_type) == INTEGER_TYPE - && INTEGRAL_TYPE_P (rhs1_type))) + || (INTEGRAL_TYPE_P (lhs_type) + && TREE_CODE (rhs1_type) == OFFSET_TYPE)) return false; /* Otherwise assert we are converting between types of the