diff options
author | Richard Stallman <rms@gnu.org> | 1993-07-29 06:30:20 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-07-29 06:30:20 +0000 |
commit | d283912a4b172a6e45f13e7b2748e25335106773 (patch) | |
tree | 6dac1fed272b76fc6e9f2ec8b7602bbbf07888e8 /gcc/convert.c | |
parent | 1c5334be7d63e92707a77bef001cc6169ece62ce (diff) | |
download | gcc-d283912a4b172a6e45f13e7b2748e25335106773.tar.gz |
(convert_to_integer): Don't pass truncate into ABS_EXPR.
From-SVN: r5037
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index d073ac3ee62..032bb516899 100644 --- 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; |