From 72d5c6c1575874d0377d4d637fa1311e60378e72 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Tue, 22 May 2012 11:21:30 +0000 Subject: [PATCH] tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous commit. 2012-05-22 Richard Guenther * tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous commit. From-SVN: r187771 --- gcc/ChangeLog | 5 +++++ gcc/tree-cfg.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.30.2