projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c5334b
)
(convert_to_integer): Don't pass truncate into ABS_EXPR.
author
Richard Stallman
<rms@gnu.org>
Thu, 29 Jul 1993 06:30:20 +0000
(06:30 +0000)
committer
Richard Stallman
<rms@gnu.org>
Thu, 29 Jul 1993 06:30:20 +0000
(06:30 +0000)
From-SVN: r5037
gcc/convert.c
patch
|
blob
|
history
diff --git
a/gcc/convert.c
b/gcc/convert.c
index d073ac3ee625fa707334b60cdc9db2803ec4a85e..032bb516899351f59e5fd633e83d1464a9c88c28 100644
(file)
--- a/
gcc/convert.c
+++ b/
gcc/convert.c
@@
-291,7
+291,8
@@
convert_to_integer (type, expr)
case NEGATE_EXPR:
case BIT_NOT_EXPR:
- case ABS_EXPR:
+ /* This is not correct for ABS_EXPR,
+ since we must test the sign before truncation. */
{
register tree typex = type;