From: Richard Kenner Date: Wed, 8 Mar 1995 22:49:48 +0000 (-0500) Subject: (force_fit_type): Always propagate OVERFLOW. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7a0564039252a5624ff3696f57c8e377a676c55;p=gcc.git (force_fit_type): Always propagate OVERFLOW. From-SVN: r9138 --- diff --git a/gcc/fold-const.c b/gcc/fold-const.c index f0f3e698434..f8e51ec0a8f 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