OSDN Git Service

* fold-const.c (lshift-double): Cast the high word to an unsigned
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 May 2002 16:59:18 +0000 (16:59 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 May 2002 16:59:18 +0000 (16:59 +0000)
commitf9a532b06c1892a216b23bd6234c28b209f131b1
treee69fbf2a94a480e2cc8a6ea185d10acd5012fd5e
parentcde3e16c960cf91fe2ce5904e5ef9925b66c9d36
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53228 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c