(make_tree, case CONST_INT): Properly set high part if unsigned.
From-SVN: r5280
This commit is contained in:
parent
91fa3c30b7
commit
4b46230e9d
|
@ -2652,7 +2652,7 @@ make_tree (type, x)
|
||||||
{
|
{
|
||||||
case CONST_INT:
|
case CONST_INT:
|
||||||
t = build_int_2 (INTVAL (x),
|
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;
|
TREE_TYPE (t) = type;
|
||||||
return t;
|
return t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue