OSDN Git Service

* fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jan 2007 04:39:59 +0000 (04:39 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jan 2007 04:39:59 +0000 (04:39 +0000)
commit816f749606d8428fbd5ac6b8dde9bcfa95b1fad1
tree3dcbb29663a562dd3b54c1da772ca6214bb6d2c1
parent3951928e57d9a09c0006a4a5da7284a5255cc16a
* fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to
avoid undefined behaviour on overflow.  Use force_fit_type_double
to construct the constant with the specified TREE_OVERFLOW.

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