diff options
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3558,7 +3558,7 @@ fold_rtx (rtx x, rtx_insn *insn) instead we test for the problematic value in a more direct manner and hope the Sun compilers get it correct. */ && INTVAL (const_arg1) != - ((HOST_WIDE_INT) 1 << (HOST_BITS_PER_WIDE_INT - 1)) + (HOST_WIDE_INT_1 << (HOST_BITS_PER_WIDE_INT - 1)) && REG_P (folded_arg1)) { rtx new_const = GEN_INT (-INTVAL (const_arg1)); @@ -4567,7 +4567,7 @@ cse_insn (rtx_insn *insn) if (INTVAL (width) == HOST_BITS_PER_WIDE_INT) mask = ~(HOST_WIDE_INT) 0; else - mask = ((HOST_WIDE_INT) 1 << INTVAL (width)) - 1; + mask = (HOST_WIDE_INT_1 << INTVAL (width)) - 1; val = (val >> shift) & mask; src_eqv = GEN_INT (val); } @@ -4665,7 +4665,7 @@ cse_insn (rtx_insn *insn) && INTVAL (width) < HOST_BITS_PER_WIDE_INT && (INTVAL (src) & ((HOST_WIDE_INT) (-1) << INTVAL (width)))) src_folded - = GEN_INT (INTVAL (src) & (((HOST_WIDE_INT) 1 + = GEN_INT (INTVAL (src) & ((HOST_WIDE_INT_1 << INTVAL (width)) - 1)); } #endif @@ -5235,7 +5235,7 @@ cse_insn (rtx_insn *insn) if (INTVAL (width) == HOST_BITS_PER_WIDE_INT) mask = ~(HOST_WIDE_INT) 0; else - mask = ((HOST_WIDE_INT) 1 << INTVAL (width)) - 1; + mask = (HOST_WIDE_INT_1 << INTVAL (width)) - 1; val &= ~(mask << shift); val |= (INTVAL (trial) & mask) << shift; val = trunc_int_for_mode (val, GET_MODE (dest_reg)); |