diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-28 14:56:43 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-04-28 14:56:43 -0400 |
commit | dbbe64450e86716dd63319ce855844c6fa82eda7 (patch) | |
tree | 35db6dd5ec51370e4da0030390e2d4529b00f4ef | |
parent | adb7a1cbf237864296f6d1d3dbb6a6f36ab4a3e7 (diff) | |
download | gcc-dbbe64450e86716dd63319ce855844c6fa82eda7.zip gcc-dbbe64450e86716dd63319ce855844c6fa82eda7.tar.gz gcc-dbbe64450e86716dd63319ce855844c6fa82eda7.tar.bz2 |
(simplify_binary_operation, case SMAX): Cast to unsiged HOST_WIDE_INT
instead of unsigned int.
From-SVN: r4259
-rw-r--r-- | gcc/cse.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3716,7 +3716,8 @@ simplify_binary_operation (code, mode, op0, op1) case SMAX: if (width <= HOST_BITS_PER_WIDE_INT && GET_CODE (op1) == CONST_INT - && INTVAL (op1) == (unsigned) GET_MODE_MASK (mode) >> 1 + && (INTVAL (op1) + == (unsigned HOST_WIDE_INT) GET_MODE_MASK (mode) >> 1) && ! side_effects_p (op0)) return op1; else if (rtx_equal_p (op0, op1) && ! side_effects_p (op0)) |