Commit 7cd5f0b2 by Richard Kenner

(const_binop): Don't pass OVERFLOW to force_fit_type if type is

unsigned.

From-SVN: r9694
parent 7db4b149
......@@ -1133,7 +1133,7 @@ const_binop (code, arg1, arg2, notrunc)
got_it:
TREE_TYPE (t) = TREE_TYPE (arg1);
TREE_OVERFLOW (t)
= ((notrunc ? !uns && overflow : force_fit_type (t, overflow))
= ((notrunc ? !uns && overflow : force_fit_type (t, overflow && !uns))
| TREE_OVERFLOW (arg1)
| TREE_OVERFLOW (arg2));
TREE_CONSTANT_OVERFLOW (t) = (TREE_OVERFLOW (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