diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-09-08 06:15:49 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-09-08 06:15:49 -0400 |
commit | 4b46230e9da6a7b397e17333700489f9933e6b9f (patch) | |
tree | 4afc79024873f80f392c0bcd580328d02036c37e /gcc | |
parent | 91fa3c30b74fe0a7dec2c0c5bae6adf0308da097 (diff) | |
download | gcc-4b46230e9da6a7b397e17333700489f9933e6b9f.zip gcc-4b46230e9da6a7b397e17333700489f9933e6b9f.tar.gz gcc-4b46230e9da6a7b397e17333700489f9933e6b9f.tar.bz2 |
(make_tree, case CONST_INT): Properly set high part if unsigned.
From-SVN: r5280
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/expmed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index c8e2f22..d638339 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; |