re PR middle-end/168 (Spurious signed/unsigned comparison warning)
authorRoger Sayle <roger@eyesopen.com>
Thu, 12 Jun 2003 20:33:02 +0000 (20:33 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 12 Jun 2003 20:33:02 +0000 (20:33 +0000)
commit96f26e41615a7767578deead92417485696c7f4f
treed43978ab935534e794d98400e5934ee15ca8180e
parent6356f8928853bc14e841e5b4e990ce2508c38f26
re PR middle-end/168 (Spurious signed/unsigned comparison warning)

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.

From-SVN: r67850
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030612-1.c [new file with mode: 0644]