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

unsigned.

From-SVN: r9694
This commit is contained in:
Richard Kenner 1995-05-15 19:01:31 -04:00
parent 7db4b14915
commit 7cd5f0b28f
1 changed files with 1 additions and 1 deletions

View File

@ -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)