projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91fa3c3
)
(make_tree, case CONST_INT): Properly set high part if unsigned.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 8 Sep 1993 10:15:49 +0000
(06:15 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 8 Sep 1993 10:15:49 +0000
(06:15 -0400)
From-SVN: r5280
gcc/expmed.c
patch
|
blob
|
history
diff --git
a/gcc/expmed.c
b/gcc/expmed.c
index c8e2f22618ad2c8adbc87a453412cf1c3d8dbed5..d6383393862b21f6be18abbebc8249c7ce5f73da 100644
(file)
--- 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;