diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-01-26 19:32:45 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-01-26 19:32:45 -0500 |
commit | 721f13b342e1fd2f354668535197b659221342e3 (patch) | |
tree | 710fd0922f102e2ec26318552a08b411e3f79a1e | |
parent | bef9925b8823fe35740ab4fe72b095c933b9200b (diff) | |
download | gcc-721f13b342e1fd2f354668535197b659221342e3.zip gcc-721f13b342e1fd2f354668535197b659221342e3.tar.gz gcc-721f13b342e1fd2f354668535197b659221342e3.tar.bz2 |
(simplify_binary_operation, case SMAX): Correctly compute largest
possible signed integer.
From-SVN: r3360
-rw-r--r-- | gcc/cse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3823,7 +3823,7 @@ simplify_binary_operation (code, mode, op0, op1) case SMAX: if (width <= HOST_BITS_PER_WIDE_INT && GET_CODE (op1) == CONST_INT - && INTVAL (op1) == GET_MODE_MASK (mode) >> 1 + && INTVAL (op1) == (unsigned) GET_MODE_MASK (mode) >> 1 && ! side_effects_p (op0)) return op1; else if (rtx_equal_p (op0, op1) && ! side_effects_p (op0)) |