mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 19:11:18 +08:00
(const_binop): Don't pass OVERFLOW to force_fit_type if type is
unsigned. From-SVN: r9694
This commit is contained in:
parent
7db4b14915
commit
7cd5f0b28f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user