* cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
From-SVN: r28993
This commit is contained in:
parent
963d441197
commit
5c45a8ac5f
|
@ -1,3 +1,7 @@
|
|||
Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
|
||||
|
||||
Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
|
||||
|
|
|
@ -5809,7 +5809,8 @@ fold_rtx (x, insn)
|
|||
But The Sun V5.0 compilers mis-compiled that test. So
|
||||
instead we test for the problematic value in a more direct
|
||||
manner and hope the Sun compilers get it correct. */
|
||||
&& INTVAL (const_arg1) != (1 << (HOST_BITS_PER_WIDE_INT - 1))
|
||||
&& INTVAL (const_arg1) !=
|
||||
((HOST_WIDE_INT) 1 << (HOST_BITS_PER_WIDE_INT - 1))
|
||||
&& GET_CODE (folded_arg1) == REG)
|
||||
{
|
||||
rtx new_const = GEN_INT (- INTVAL (const_arg1));
|
||||
|
|
Loading…
Reference in New Issue