tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous commit.
authorRichard Guenther <rguenther@suse.de>
Tue, 22 May 2012 11:21:30 +0000 (11:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 22 May 2012 11:21:30 +0000 (11:21 +0000)
2012-05-22  Richard Guenther  <rguenther@suse.de>

* tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous
commit.

From-SVN: r187771

gcc/ChangeLog
gcc/tree-cfg.c

index f73965d36670611ef479bee553e403bc537c5f6e..4714c31f9979e855e300b3b2a71f30ba388c93cc 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-22  Richard Guenther  <rguenther@suse.de>
+
+       * tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous
+       commit.
+
 2012-05-22  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/53437
index 423db1db4530d3b836d993cd1dd0a0dd6f2c10e7..cd68f1f86c4031d3458fae7084ca18067b16cbfc 100644 (file)
@@ -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