fold-const.c (lshift-double): Cast the high word to an unsigned HOST_WIDE_INT when...
authorRoger Sayle <roger@eyesopen.com>
Mon, 6 May 2002 16:59:18 +0000 (16:59 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 6 May 2002 16:59:18 +0000 (16:59 +0000)
commit0316d49bf1e8f3e829bea90f911116bfb4bcf62f
treee69fbf2a94a480e2cc8a6ea185d10acd5012fd5e
parent5d50fab3144e5114b3a848749da6717a94117be1
fold-const.c (lshift-double): Cast the high word to an unsigned HOST_WIDE_INT when...

* fold-const.c (lshift-double): Cast the high word to an unsigned
HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
(div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
avoid compiler warning.  (fold): Remove redundant code from
BIT_AND_EXPR as integer operands are canonicalized to be arg1.

From-SVN: r53228
gcc/ChangeLog
gcc/fold-const.c