projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a610892
)
(force_fit_type): Always propagate OVERFLOW.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 8 Mar 1995 22:49:48 +0000
(17:49 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 8 Mar 1995 22:49:48 +0000
(17:49 -0500)
From-SVN: r9138
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index f0f3e698434219cbcc31ddf96dc4a8ecfd1ccdda..f8e51ec0a8ff1573d14084fe55a53c2548ff62b0 100644
(file)
--- a/
gcc/fold-const.c
+++ b/
gcc/fold-const.c
@@
-187,7
+187,7
@@
force_fit_type (t, overflow)
/* Unsigned types do not suffer sign extension or overflow. */
if (TREE_UNSIGNED (TREE_TYPE (t)))
- return
0
;
+ return
overflow
;
/* If the value's sign bit is set, extend the sign. */
if (prec != 2 * HOST_BITS_PER_WIDE_INT