PR middle-end/168
commitae98dc4bca8a8a510252528329effdf4d10648a7
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2003 20:33:02 +0000 (12 20:33 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2003 20:33:02 +0000 (12 20:33 +0000)
treed43978ab935534e794d98400e5934ee15ca8180e
parent7ef5b942a1ad681e5124f1949bd5f62c0d7456a4
PR middle-end/168
* fold-const.c (tree_expr_nonnegative_p):  Handle addition
and multiplication of zero extensions, floating point division,
and integer<->fp, fp<->fp and zero extension conversions.
The built-in ceil and floor functions preserve signedness.

* gcc.dg/20030612-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67850 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030612-1.c [new file with mode: 0644]