From 4b46230e9da6a7b397e17333700489f9933e6b9f Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 8 Sep 1993 06:15:49 -0400 Subject: [PATCH] (make_tree, case CONST_INT): Properly set high part if unsigned. From-SVN: r5280 --- gcc/expmed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/expmed.c b/gcc/expmed.c index c8e2f22618a..d6383393862 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -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; -- 2.30.2