diff options
author | Richard Guenther <rguenther@suse.de> | 2012-05-22 11:21:30 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-05-22 11:21:30 +0000 |
commit | 72d5c6c1575874d0377d4d637fa1311e60378e72 (patch) | |
tree | e0482eb8f5e25cdc5bc93df1c2062de7436f8c76 /gcc/tree-cfg.c | |
parent | f391a855826aaa21043f0f492bb2eb4dde130cf6 (diff) | |
download | gcc-72d5c6c1575874d0377d4d637fa1311e60378e72.zip gcc-72d5c6c1575874d0377d4d637fa1311e60378e72.tar.gz gcc-72d5c6c1575874d0377d4d637fa1311e60378e72.tar.bz2 |
tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous commit.
2012-05-22 Richard Guenther <rguenther@suse.de>
* tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous
commit.
From-SVN: r187771
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 423db1d..cd68f1f 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 |