(make_tree, case CONST_INT): Properly set high part if unsigned.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 8 Sep 1993 10:15:49 +0000 (06:15 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 8 Sep 1993 10:15:49 +0000 (06:15 -0400)
From-SVN: r5280

gcc/expmed.c

index c8e2f22618ad2c8adbc87a453412cf1c3d8dbed5..d6383393862b21f6be18abbebc8249c7ce5f73da 100644 (file)
@@ -2652,7 +2652,7 @@ make_tree (type, x)
     {
     case CONST_INT:
       t = build_int_2 (INTVAL (x),
-                      ! TREE_UNSIGNED (type) && INTVAL (x) >= 0 ? 0 : -1);
+                      TREE_UNSIGNED (type) || INTVAL (x) >= 0 ? 0 : -1);
       TREE_TYPE (t) = type;
       return t;