Commit 4b46230e by Richard Kenner

(make_tree, case CONST_INT): Properly set high part if unsigned.

From-SVN: r5280
parent 91fa3c30
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment