diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-03-08 17:49:48 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-03-08 17:49:48 -0500 |
commit | a7a0564039252a5624ff3696f57c8e377a676c55 (patch) | |
tree | 0805532a084445373d1ca060fdf47bae66c4af97 | |
parent | a6108925a2c0e9742dec155d7ebbdbfb1820173b (diff) | |
download | gcc-a7a0564039252a5624ff3696f57c8e377a676c55.zip gcc-a7a0564039252a5624ff3696f57c8e377a676c55.tar.gz gcc-a7a0564039252a5624ff3696f57c8e377a676c55.tar.bz2 |
(force_fit_type): Always propagate OVERFLOW.
From-SVN: r9138
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index f0f3e69..f8e51ec 100644 --- 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 |