projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db4b14
)
(const_binop): Don't pass OVERFLOW to force_fit_type if type is
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 15 May 1995 23:01:31 +0000
(19:01 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 15 May 1995 23:01:31 +0000
(19:01 -0400)
unsigned.
From-SVN: r9694
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index 644807d0b43b083054c3915253a795464f91792d..43ab364780e1d63874612a17d2d620dddf938179 100644
(file)
--- a/
gcc/fold-const.c
+++ b/
gcc/fold-const.c
@@
-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)