* fold-const.c (fold_binary) <LT_EXPR>: Use the precision of the
commit8aa01816af90c5c9b6e3718ee263678ce5f3d93e
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Dec 2006 22:46:45 +0000 (1 22:46 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Dec 2006 22:46:45 +0000 (1 22:46 +0000)
treeeed9131e8b7c9700cd4de51e2d384449f3da69b4
parente04cf42304e42a9d2383bc1f28f441726bb5d6a3
* fold-const.c (fold_binary) <LT_EXPR>: Use the precision of the
type instead of the size of its mode to compute the highest and
lowest possible values.  Still check the size of the mode before
flipping the signedness of the comparison.

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